+1 vote
in Data Structures & Algorithms I by (110k points)
The system throws an error if parentheses are encountered in an infix expression evaluation algorithm.

(a) True

(b) False

The origin of the question is Evaluation of an Infix Expression (Not Parenthesized) in portion Application of Stacks of Data Structures & Algorithms I

I got this question in an internship interview.

1 Answer

+1 vote
by (444k points)
selected by
 
Best answer
Right option is (b) False

Best explanation: The algorithm holds good for infix expression with parentheses. The system does not throw error.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.

Categories

...