Which of the following statements about Array in C++ is FALSE?

2019

Which of the following statements about Array in C++ is FALSE?

Answer: D. Array elements can only be accessed sequentially.Array elements in C++ can be accessed randomly using indices, not only sequentially. Hence, statement 4 is false.

  1. A.

    Generally, arrays are of fixed size.

  2. B.

    Array elements are stored in continuous memory locations.

  3. C.

    All elements of an array are of same data type.

  4. D.

    Array elements can only be accessed sequentially.

Attempted by 444 students.

Show answer & explanation

Correct answer: D

Array elements in C++ can be accessed randomly using indices, not only sequentially. Hence, statement 4 is false.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Bpsc

Loading lesson…