+1 vote
in Data Structures & Algorithms I by (110k points)
Identify the infix expression from the list of options given below.

(a) a/b+(c-d)

(b) abc*+d+ab+cd+*ce-f-

(c) ab-c-

(d) +ab

This question is from Evaluation of an Infix Expression (Not Parenthesized) topic in portion Application of Stacks of Data Structures & Algorithms I

This question was addressed to me by my college director while I was bunking the class.

1 Answer

+1 vote
by (408k points)
selected by
Best answer
Right answer is (a) a/b+(c-d)

Easiest explanation - a/b+(c-d) is an infix expression since the operators are placed in between the operands.

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.