Stack Operations - Section 2 :: Discussion


4.Pushing an element into stack already having five elements and stack size of 5, then stack becomes ?
A.Overflow
B.Crash
C.Underflow
D.User flow
Answer:  Option  A
Explanation:

The stack is filled with 5 elements and pushing one more element causes a stack overflow. This results in overwriting memory, code and loss of unsaved work on the computer.

Tutorial Link:
Published by:

Comments are not available

Post your comments here:

Optional

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers