Parenthesis are never needed in prefix or postfix
expressions. Why?
Answer Posted / arnoldindia
Evaluation of postfix or prefix notations are done with the
help of stacks. So there is no need for brackets.
In other words, infix notation is human-readable format,
which need brackets based on BODMAS rule to understand the
order of execution. The postfix or prefix are
machine-readable format. The conversion and evaluation of
postfix and prefix are applications of stack model.
| Is This Answer Correct ? | 47 Yes | 7 No |
Post New Answer View All Answers
What are different types of linked lists?
Does arraylist have a tostring?
Is hashmap a data structure?
How many types of data structures are there?
How to get a list of tables, views and columns in firebird database?
Can you please explain the difference between array_name and &array_name?
What are some of the best practices relating to the java collection framework?
What is doubly linked list?
Why is hashing used?
What is structured data with example?
What is a concurrenthashmap?
What is difference between array and arraylist? When will you use array over arraylist?
What is linked hash set?
How can we delete any specific node from the linked list?
Differentiate between hashmap and hashtable.