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

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

A. foo[6];

B. foo[7];

C. foo(7);

D. foo;

Hướng dẫn

Chọn A là đáp án đúng

Tags: