5 years ago in UGC CS - December 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 ?

[A] 4
[B] 3
[C] 2
[D] 1
Loading...
Next Question

Overall Stats

Attempted 12
Correct 6
Incorrect 3
Viewed 3

Answers

Guest
Guest
Srusti Lingaraju
Srusti Lingaraju - 1 month ago

Srusti Lingaraju is saying 1 is correct answer

Dharanidharan R
Dharanidharan R - 5 months ago

Dharanidharan R is saying 1 is correct answer

Janagan
Janagan - 5 months ago

Janagan is saying 3 is correct answer

Raghuveer Dhakad
Raghuveer Dhakad - 2 years ago

Raghuveer Dhakad from Delhi, India is saying 1 is correct answer

Nazia Sayed
Nazia Sayed - 2 years ago

Nazia Sayed from Mumbai, India is saying 1 is correct answer

Related Questions

The design issue of Data Link Layer in OSI Reference Model is:

  • [A] Framing
  • [B] Representation of bits
  • [C] Synchronization of bits
  • [D] Connection Control

Enumeration is a process of

  • [A] Declaring a set of numbers
  • [B] Sorting a list of strings
  • [C] Assigning a legal values possible for a variable
  • [D] Sequencing a list of operators