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 is entryset in hashmap?
Why do we use collections?
What is a string or array type?
What is array sort?
What is meant by heap sort?
write a code for Implementation of stack and queues.
Why do we need a data structure?
Which sorting algorithm is worst?
If we add enum constants to a sorted collection ( treemap , treeset ), what will be the order in which they will be maintained?
What is linked hash set?
Why is concurrenthashmap thread safe?
Check if duplicates exist in an array of N which has range 1 to N.
Which is the parent class of linkedhashset class?
Why is arraylist not thread safe?
Can constructor be static?