hey guys!
here is a doubt.
is using delete [] really worthy.
when i used these functions my prog didnt work.but after removing these statements prog workd so nicely.
I am attaching my c++ code.
It is to ask user for input string of infinite length with given string termination character,and also allocating only as much space is required.
please help me out in use of delete [].
Thank you guys.