Question
1.
2.
3.
4.
Answer (Detailed Solution Below)
Option 3 : A B C * + D E / − / A B C * + D E / −
Advertisement
Detailed Solution
सही उत्तर A B C * + D E / − / A B C * + D E / − है।
Key Points
Helpful?
Question:
The postfix equivalent of the infix expression A + B * C − D / E is: / इंफिक्स व्यंजक A + B * C − D / E का पोस्टफिक्स समतुल्य है:
1.
A B + C * D − E / / A B + C * D − E /
2.
A B C * + D / E − / A B C * + D / E −
3.
A B C * + D E / − / A B C * + D E / −
4.
A B * C + D E / − / A B * C + D E / −
Correct Answer: A B C * + D E / − / A B C * + D E / −
* and / bind tighter than + and −: B*C becomes BC* and D/E becomes DE/; then A + (BC*) gives ABC*+, and subtracting (DE/) yields ABC*+DE/−. / * और / की बाइंडिंग + और − से कड़ी है: B*C से BC* और D/E से DE/ बनता है; फिर A + (BC*) से ABC*+ मिलता है, और (DE/) घटाने पर ABC*+DE/− प्राप्त होता है।
Downloaded from PrepSnap (prepsnap.in)