MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DATA STRUCTURES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is the value of the postfix expression 6 3 2 4 +-*:
A
1
B
14
C
74
D
-18
Explanation: 

Detailed explanation-1: -What is the value of the postfix expression 6 3 2 4 + – *? Explanation: Postfix Expression is (6*(3-(2+4))) which results-18 as output.

Detailed explanation-2: -What is the result of the given postfix expression? abc*+ where a=1, b=2, c=3. Explanation: The infix expression is a+b*c. Evaluating it, we get 1+2*3=7.

Detailed explanation-3: -1 Answer. Hence, Result will be-24.

There is 1 question to complete.