Vidyalelo
Data Structure · Q100

Stacks in Data Structures

Programming · Data Structure · question 100

Q100

When the corresponding end bracket/braces/parentheses is not found, what happens?

A.
The stack is popped
B.
Ignore the parentheses
C.
An error is reported
Answer
D.
It is treated as an exception

Answer: Option C

Solution

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