Examveda

What happens when a stack overflows?

A. The program crashes

B. The top element is lost

C. An error is thrown

D. The stack size increases dynamically

Answer: Option C


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

Join The Discussion

Related Questions on Stacks in Data Structures