Complete the code to declare an integer array named 'numbers' of size 5.
int numbers[[1]];The code declares an integer array 'numbers' with 5 elements.
Complete the code to initialize the array 'scores' with values 10, 20, 30.
int scores[] = { [1] };The array is initialized with three integer values separated by commas inside curly braces.
Fix the error in the array declaration to create an array 'data' of size 4.
int data[[1]];Array size must be a positive integer literal or constant. '4' is correct.
Fill both blanks to declare and initialize an array 'ages' with 3 elements: 18, 21, 25.
int ages[[1]] = { [2] };
The array 'ages' has size 3 and is initialized with three values separated by commas.
Fill all three blanks to declare an array 'temps' of size 4 and initialize with 15, 20, 25, 30.
int temps[[1]] = { [2] , [3] };
The array 'temps' has size 4 and is initialized with four values split into two parts separated by a comma.
