Which of the following statement is true?
2024
Which of the following statement is true?
- A.
Arrays is dynamic data structure whose size can be changed while stacks are static data structures whose size are fixed
- B.
An array can have elements of different data types
- C.
Array elements can be accessed and modified (elements can be added
or removed) only at the ends of the array while any element of stacks
can be accessed/modified randomly through their indices.
- D.
Elements of a linked list can be accessed only sequentially
Attempted by 1875 students.
Show answer & explanation
Correct answer: D
"Elements of a linked list can be accessed only sequentially" is the true statement.