Given an empty stack, after performing push (1), push (2), Pop, push (3), push…

UGC NET 2012

Given an empty stack, after performing push (1), push (2), Pop, push (3), push (4), Pop, Pop, push(5), Pop, what is the value of the top of the stack ?

  1. A.

    4

  2. B.

    3

  3. C.

    2

  4. D.

    1

Attempted by 333 students.

Sign up free to check your answer

Sign up free

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs

Loading lesson…