The size of an array

You specify the number of elements (the size) of a C++ array when you declare it. 

Once created, the size of a C++ array cannot be changed.

(This is also true for other programming languages such as Java.)