InterviewSolution
Saved Bookmarks
| 1. |
Which of the following statement is invalid with respect to balancing symbols?(a) [(A+B) + (C-D)](b) [{A+B}-{C-[D+E]}](c) ((A+B) + (C+D)(d) {(A+B) + [C+D]}The question is from Application of Stacks topic in chapter Application of Stacks of Data Structures & Algorithms IThis question was posed to me in an interview for job. |
|
Answer» RIGHT answer is (C) ((A+B) + (C+D) The best explanation: ((A+B) + (C+D) is invalid because the last close brace is not FOUND in the STATEMENT. |
|