Float_ptr = new float[100] In order to deallocate this memory use A. delete float_ptr B. delete [] float_ptr C. delete float_ptr [100] D. delete float_ptr []


B


Showing Answers 1 - 2 of 2 Answers

pagla_ghoda

  • Jan 5th, 2007
 

You must specify "[]"when deleting an array, but not for a single value. It isn't possible to delete only part of an array.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions