Examveda

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

A. push it on to the stack

B. throw an error

C. ignore the parentheses

D. pop the stack

Answer: Option A


This Question Belongs to Data Structure >> Stacks In Data Structures

Join The Discussion

Related Questions on Stacks in Data Structures