when you allocate memory with new you ought to


when you allocate memory with new[], you ought to free the memory via delete[]. While you allocate memory along 'new', then use 'delete' with no the brackets. You employ new[] to allocate an array of values (always beginning at the index 0).

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: when you allocate memory with new you ought to
Reference No:- TGS0211625

Expected delivery within 24 Hours