C question

Q

What is the difference between: myObj *x = new myObj[100]; delete x; and myObj *x = new myObj[100]; delete [] x;

✍: varsha

A
(This question has not been answered yet. If you know the answer, please share it in a comment below.)

2009-07-16, 5104👍, 0💬