Hi,
Please help me to release memory occupied by Char array..
Following code I am trying...
char *nm = new char[8];
strcpy(nm,"Pras hant");
delete []nm;
But this code is not working it is creating Assertion in VC++ compiler.
Thanks in Advance :(
User Profile
Collapse
-
release memory occupied by Char array..
-
release memory occupied by Char array..
Hi,
Please help me to release memory occupied by Char array..
Following code I am trying...
char *nm = new char[8];
strcpy(nm,"Pras hant");
delete []nm;
Thanks in Advance -
release memory occupied by Char array..
Hi,
Following code is creating assertion
Please help me to release memory occupied by Char array..
char *nm = new char[8];
strcpy(nm,"Pras hant");
delete []nm;
Thanks in Advance
No activity results to display
Show More