Solveeit Logo

Question

Computer Science Question on Introduction to stack (LIFO Operations)

if len(Stack) =0 : print("error") The above statement is handling the situation called :

A

Underflow error

B

Overflow error

C

Empty stack

D

Stack length zero

Answer

Underflow error

Explanation

Solution

The correct option is (A) : Underflow error