What is the initial value of top in an empty stack implemented using an array?

Coal India Management Trainee CBT · 2026 · 2026 System

What is the initial value of top in an empty stack implemented using an array?

  1. A.

    0

  2. B.

    -1

  3. C.

    1

  4. D.

    Depends on stack size

Attempted by 114 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…