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

2019

Which of the following statements about Array in C++ 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 243 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: Uppsc Polytechnic Lecturer 2025 Cs