Explanation:
In some programming language, arrays have a fixed size and the dimension should be specified at the time of declaration.
If you specify array without defining the size, the compiler will give "compile time" error since it consider the problem as syntax error.
Also, the size cannot be altered as and when needed.
But there are some programming languages which allows arrays to increase or decrease in type. But those will be an object of a class. It will not simple like a primitive type.