If the corresponding end bracket/braces/parentheses is encountered, which of the following is done?
A. push it on to the stack
B. pop the stack
C. throw an error
D. treated as an exception
Answer: b
Explanation: When the corresponding end bracket/braces/parentheses is encountered, the stack is popped. When an opening bracket/braces/parentheses is encountered, it is pushed on to the stack.