0

What is dynamic memory andwhat is delete pointer?

28th Jul 2016, 3:17 PM
krishna desai
1 Antwort
+ 2
dynamic memory means the memory you use while running the program... for example: int a=new int //it means you have allocated a memory space for a... but not actually... rather virtually...it's like RAM then when you type delete a; // all the contents of a are erased and memory gets freed.... these help to reduce the usage and size of file... by not making a fuller bulky
28th Jul 2016, 3:31 PM
M@TE
M@TE - avatar