bt even in c++ if we do int a[5];
a=new int[0]; its error..
On Sun, Jun 19, 2011 at 12:59 PM, kumar vr kumarg...@gmail.com wrote:
how to free memory allocated to an array with new function?
A. a = new int[0];
Assuming integer Data.
On Sat, Jun 18,
how to free memory allocated to an array with new function?
A. a = new int[0];
Assuming integer Data.
On Sat, Jun 18, 2011 at 2:29 PM, oldman fenghaungyuyi...@gmail.com wrote:
sorry for needless words in the last letter.
On Sat, Jun 18, 2011 at 4:56 PM, oldman
new and delete are functions available in C++ and not in C. m i right?
On Jun 17, 2:34 pm, rohit rajuljain...@gmail.com wrote:
how to free memory allocated to an array with new function?
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To
you are right unless new and delete are operators rather than functions.
On Sat, Jun 18, 2011 at 4:54 PM, Dumanshu duman...@gmail.com wrote:
new and delete are functions available in C++ and not in C. m i right?
On Jun 17, 2:34 pm, rohit rajuljain...@gmail.com wrote:
how to free memory
In fact new and delete are not even technically functions,,,
On Sat, Jun 18, 2011 at 2:24 PM, Dumanshu duman...@gmail.com wrote:
new and delete are functions available in C++ and not in C. m i right?
On Jun 17, 2:34 pm, rohit rajuljain...@gmail.com wrote:
how to free memory allocated to an
sorry for needless words in the last letter.
On Sat, Jun 18, 2011 at 4:56 PM, oldman fenghaungyuyi...@gmail.com wrote:
you are right unless new and delete are operators rather than functions.
On Sat, Jun 18, 2011 at 4:54 PM, Dumanshu duman...@gmail.com wrote:
new and delete are functions
using: delete[] arrayPointer;
--
DK
http://twitter.com/divyekapoor
http://www.divye.in
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To view this discussion on the web visit
https://groups.google.com/d/msg/algogeeks/-/1C5XEl8FfiYJ.
To
strangegoogle ask these type of question too.
On Sat, Jun 18, 2011 at 3:07 AM, DK divyekap...@gmail.com wrote:
using: delete[] arrayPointer;
--
DK
http://twitter.com/divyekapoor
http://www.divye.in
--
You received this message because you are subscribed to the Google Groups