Which of the following operations is not possible with arrays?

20232024

Which of the following operations is not possible with arrays?

Answer: D. Dynamic ResizingAn array in C is a static data structure, meaning its size is fixed at the time of declaration. While you can traverse, insert, and delete elements, you…

  1. A.

    Traversal

  2. B.

    Insertion

  3. C.

    Deletion

  4. D.

    Dynamic Resizing

Attempted by 1708 students.

Show answer & explanation

Correct answer: D

An array in C is a static data structure, meaning its size is fixed at the time of declaration. While you can traverse, insert, and delete elements, you cannot dynamically resize it without creating a new array and transferring the elements, which isn't directly supported by the array data structure.

Explore the full course: Coding For Placement

Loading lesson…