Is it true that every array that is initialized during runtime is dynamic and every array that is initialized during compiling is static?
for example:
Yes,The size of an array come to know at compile time only but allocation of memory will happen at runtime. Until you encounter 'new' memory won't be allocated to array.