0
What is dynamic memory andwhat is delete pointer?
1 Odpowiedź
+ 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