What is the value of the postfix expression 6 3 2 4 + – *?
a) 1
b) 40
c) 74
d) -18
Answer: d
Explanation: Postfix Expression is (6*(3-(2+4))) which results -18 as output.
Related Posts
What does the following Java code do?
public Object function()
{
if(isEmpty())
return -999;
else
{
Object high;
high = q[front];
return high;
}
}What is the term for inserting into a full queue known as?
In a circular queue, how do you increment the rear end of the queue?
Which of the following properties is associated with a queue?
Minimum number of queues to implement stack is ___________
Which of the following data structures can be used for parentheses matching?
What does ‘stack overflow’ refer to?
Join The Discussion