Google News
logo
CPP - Quiz(MCQ)
Which of the following accesses the seventh element stored in array?
A)
array[7];
B)
array[6];
C)
array(7);
D)
array(6);

Correct Answer :   array[6];


Explanation : The array location starts from zero, So it can accessed by array[6].

Advertisement