Hi,
This is a very simple question, but I just couldn't figure out any set of keywords that would point to an obvious answer. So here we go.
Code example:
int array ;
Size is, for example, given as an argument.
Is this array initialization static or dynamic? It does not use 'new' statement but neither is the size a predefined value, which it is in every example I've found. Of course during runtime the size is known at the point of declaration. Thus, is that the only difference between the usage of static and dynamic, that at the point of declaration you don't need to give size for dynamic arrays?
I hope I managed to spit out my thoughts in an understandable manner.