Which of the following data structures are based on the concept of dynamic…

2025

Which of the following data structures are based on the concept of dynamic memory allocation?

Answer: C. Linked ListIn a linked list, memory for nodes is allocated dynamically, i.e., as and when required. Hence, the size of the linked list can increase or decrease as per…

  1. A.

    Array

  2. B.

    Stack

  3. C.

    Linked List

  4. D.

    Queue

Attempted by 855 students.

Show answer & explanation

Correct answer: C

In a linked list, memory for nodes is allocated dynamically, i.e., as and when required. Hence, the size of the linked list can increase or decrease as per the needs at runtime.

Explore the full course: Coding For Placement

Loading lesson…