30. Dynamic Memory Allocation-i

Question.2

A developer allocates an array and frees it:

int* buf = new int[100];
// ... use buffer ...
delete buf;  // No []

What happens?

Need Help? Refer to the Quick Guide below

Select Answer

Restart quiz!