Page 1 of 1

Find the error (if any) in the following code snippet for pop operation. void pop() //removing an element from a stack {

Posted: Wed Jul 13, 2022 7:41 pm
by answerhappygod
a) run time error
b) compile time error
c) pop operation is performed, but top moved in wrong direction
d) pop operation is performed properly