Which of the following is a correct way of declaring an array of 15 integer elements in C?
Show answerHide answer
Correct answer: (C) int array[15];
Explanation
In C an array is declared as type name[size], so int array[15]; declares 15 integers. The other forms are not valid C syntax.