+ 1
There is a called function and i allocate memory at run time there and i return pointer
so i will have access in all memory what i created or it will be destroyed beacuse i know dynamic memory allocation in in heap not in stack then ????????
1 Respuesta
+ 3
It won't be "destroyed" unless you free the memory