Exam4Training

Which of the following statements are correct about an array?

Which of the following statements are correct about an array?

int tab[10];
A . The array can store 10 elements.
B . The expression tab[1] designates the very first element in the array.
C . The expression tab[9] designates the last element in the array.
D . It is necessary to initialize the array at the time of declaration.

Answer: A, C

Exit mobile version