Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the difference between delete and delete[ ]?

delete difference
0
Posted

What is the difference between delete and delete[ ]?

0

A31. Delete deletes one object; delete[ ] deletes an array of objects. Q32. Name two cases where you MUST use initialization list as opposed to assignment in constructors. A32. Both non-static const data members and reference data members cannot be assigned values; instead, you should use initialization list to initialize them.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123