Question 1089 – Nielit Scientist-B CS 22-07-2017

Assume that the operators +,-,x are left associative and 6 right associative. the order of precedence(from highest to lowest) is 6,x,+,-. The postfix expression corresponding to the infix expression

a+bxc-d^e^f is

Correct Answer: A

Question 6 Explanation: 
a+bc-d^e^f
⟶ left to right
Step 1: abc+
A
abc x+def^^-
B
abc xde^f^-
C
ab +c xd -e^f ^
D
-+ a x bc ^^def
0 0 votes
Article Rating
Subscribe
Notify of


0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: <b>Alert: </b>Content selection is disabled!!
UGC NET CS 2017 Nov- paper-3
November 6, 2023
CIL 2020 General Paper
November 6, 2023
UGC NET CS 2017 Nov- paper-3
November 6, 2023
CIL 2020 General Paper
November 6, 2023