Given a prefix and a postfix notation what are the difference between them?

Q & ACategory: Data StructureGiven a prefix and a postfix notation what are the difference between them?
Admin Staff asked 4 years ago

Given a prefix and a postfix notation what are the difference between them?
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)

1 Answers
Admin Staff answered 4 years ago

a) The postfix equation is solved starting from the left whereas the prefix notation is solved from the right