+ 1
if we will not declare how many elememt an array will story (int a[];)than it will hold unlimited value?
1 Antwort
+ 1
no. you have to specify the number of elements unless you are doing this:
int arr [] = {1,2,3};
it checks to see how many items are in the curly braces and assigns that as the size of the array