Hi All,
My question is,
what happens if we wont delete the memory allocated using new function.Does it causes problem to memory management.
Please clear me....
User Profile
Collapse
-
Dynamic memory allocation -- C++
-
Dynamic Storage allocation - copy constructor ---C++
Hi All,
Generally copy constructor is used to create a new object from existing object.
My question is,
Do i need to allocated memory to the pointer member variables in copy constructor. Or will they share?? -
Hi,
Is it must that we have to use delete function to release memory allocated with new operator.... -
Procedure Vs Function
Hi All,
Please explain me the Adv and DisAdv between Procedures and functions
Thanks in Advance
Radhi -
Dynamic allocation in C++
Hi All,
As per my knowledge, We can use new operator for dynamic memory allocation and free function can be used to deallocate the allocated memory.
Free function behaves similar to Delete function in C++.
Please let me know information about this.
Thanks in Advance
Radhi
No activity results to display
Show More
Leave a comment: