Which application of stack is used to ensure that the pair of parentheses is properly nested?

Q & ACategory: Data StructureWhich application of stack is used to ensure that the pair of parentheses is properly nested?
Admin Staff asked 5 years ago

Which application of stack is used to ensure that the pair of parentheses is properly nested?
a) Balancing symbols
b) Reversing a stack
c) Conversion of an infix to postfix expression
d) Conversion of an infix to prefix expression

1 Answers
Admin Staff answered 5 years ago

a) Balancing symbols