Which of the following statements about Array in C++ is FALSE?
2019
Which of the following statements about Array in C++ is FALSE?
- A.
Generally, arrays are of fixed size.
- B.
Array elements are stored in continuous memory locations.
- C.
All elements of an array are of same data type.
- 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.