Home / Engineering / Data Structure (DS) / Question

M

Mr. Dubey • 51.43K Points
Coach

Q.) What should be done when a left parenthesis ‘(‘ is encountered?

(A) It is ignored
(B) It is placed in the output
(C) It is placed in the operator stack
(D) The contents of the operator stack is emptied
Correct answer : Option (C) - It is placed in the operator stack

Share

Discusssion

Login to discuss.