a) The postfix equation is solved starting from the left whereas the prefix notation is solved from the right
b) The postfix equation is solved starting from the right whereas the prefix notation is solved from the left
c) Both equations are solved starting from the same side(right)
d) Both equations are solved starting from the same side(left)
Answer: a
Explanation: The postfix notation is solved starting from left but whereas the prefix notation is reversed after creating them, therefore it’s solved starting from right.
Related Posts
Which of the following statement is incorrect with respect to balancing symbols algorithm?
Which of the following does the balancing symbols algorithm include?
Which is the most appropriate data structure for applying balancing of symbols algorithm?
In balancing parentheses algorithm, the string is read from?
Which application of stack is used to ensure that the pair of parentheses is properly nested?
What is the time complexity of balancing parentheses algorithm?
What is the number of moves required to solve Tower of Hanoi problem for k disks?
Join The Discussion