Examveda

How do you check if a stack is empty?

A. Check if the top pointer is null

B. Check if the size is zero

C. Check if the top pointer is zero

D. Check if the last element is null

Answer: Option B


This Question Belongs to Data Structure >> Stacks In Data Structures

Join The Discussion

Related Questions on Stacks in Data Structures