0
How many types of memory does c++ posses
3 Respuestas
0
2, static and dynamic
0
can you please elaoborate these
0
Static is used for local variables, and everything else which memory usage can be determined before running the program.
Dynamic is used for dynamic memory allocation (when u use word "new"). For example when u ask user to define array size during runtime.