hi, 

i got question regarding the term delete in c++. when i have a pointer eg:

char* test

which is filled with an array later on, and then at the end of my method i call 
delete test;
what actually happened? is it just destroying the pointer so it led to 
'nowhere' 
or it also free the memory? eg if i put values on the pointer

test = "imaginethisisaverylongsequenceofarray"

will deleting the test also delete the content hence free the memory so it can 
be used by other program?


thanks in advance 
 ================================= 
http://www.svnstrk.blogspot.com


      

[Non-text portions of this message have been removed]

Reply via email to