Explain the concept of dynamic memory allocated with an example | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
- 1

Explain the concept of dynamic memory allocated with an example

12th May 2017, 4:45 AM
Web Anshu
Web Anshu - avatar
2 Respostas
+ 5
you allocate memory dynamically with the keyword new
12th May 2017, 6:05 AM
ā€ŽÉÄ±sıօլɐ
ā€ŽÉÄ±sıօլɐ - avatar
+ 3
Dynamic memory allocation means that the code ask OS at runtime for reserve memory for its use: http://stackoverflow.com/questions/12161774/when-do-i-need-dynamic-memory
12th May 2017, 7:49 AM
visph
visph - avatar