100+ câu trắc nghiệm Lập trình C/C++ có đáp án - Phần 2

Which of the following correctly accesses the seventh element stored in foo, an array with 100 elements?

21/25

Which of the following correctly accesses the seventh element stored in foo, an array with 100 elements?

foo[6];

foo[7];

foo(7);

foo;

Giải thích

Chọn đáp án A