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
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
b) compile time error
c) pop operation is performed, but top moved in wrong direction
d) pop operation is performed properly