How can you increase the size of a statically allocated array?

Answer:

Answer

int arr[10];

When an array is declared as above, memory is allocated for the elements of the array when the program starts, and this memory remains allocated during the lifetime of the program. This is known as static array allocation. Hence we cannot increase size of statically allocated array.

First answer by Neha 0782. Last edit by Gpvprasad. Contributor trust: 8 [recommend contributor recommended]. Question popularity: 13 [recommend question].