Dear All,
If I write following statement, where will memory be allocated?
If it is on heap, who will free the allocated memory?
char* ptr = "hello";
Thanks
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Results 1 to 15 of 16
Thread: memory allocationThreaded View
|
Click Here to Expand Forum to Full Width |