What happens if a POP operation is performed on an...
Guiding State PSC aspirants since 2016 50,000+ students · 1,000+ final selections Exam Calendar Results Call 9116926003
pscnotes
Pick your state
APSC Prelims previous year questions

What happens if a POP operation is performed on an empty stack?

Asked in APSC 67 14/ Junior Manager (Electrical / Mechanical / Civil/ IT) , in Assam Electricity Grid Corporation Limited (AEGCL) (Advt. No. 14/, dtd 28-04-) ELECTRICAL ENGINEERING MECHANICAL E 2023

  1. Stack overflow error will occur
  2. Stack underflow error will occur
  3. The top element is removed and returned
  4. The stack remains unchanged
Show answer

Answer: B. Stack underflow error will occur

More APSC Prelims previous year questions questions

All 7,314 APSC Prelims previous year questions questions →