In C++ there are two types of memory static(stack) and dynamic (heap) memories. Dynamic memory can grow at run time, static memory cannot, and in static memory the size of the array must be known before compilation.
コメント