Which of the following statement is true?

PYQ TCS NQT 2024

Which of the following statement is true?

  1. A.

    Arrays is dynamic data structure whose size can be changed while stacks are static data structures whose size are fixed

  2. B.

    An array can have elements of different data types

  3. 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.

  4. D.

    Elements of a linked list can be accessed only sequentially

Attempted by 2875 students.

Sign up free to check your answer

Sign up free

Explore the full course: Cdac C Cat Complete Preparation

Loading lesson…