Vidyalelo
Data Structure · Q61

Stacks in Data Structures

Programming · Data Structure · question 61

Q61

What should be done when an opening parentheses is read in a balancing symbols algorithm?

A.
push it on to the stack
Answer
B.
throw an error
C.
ignore the parentheses
D.
pop the stack

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board