Stacks on Data Structure and Algorithms related Questions and Answers


Question :   When the corresponding end bracket/braces/parentheses is not found, what happens?
1. The stack is popped
2. Ignore the parentheses
3. An error is reported
4. It is treated as an exception
Answer :   3 - An error is reported  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter