Parenthesis are never needed in prefix or postfix
expressions. Why?
Answer Posted / mithilesh kumar
Parenthesis are used to define the sequence or priority of
execution of operations which is useful in infix notation.
Whereas we have already taken
the consideration of order of execution of operands during
the time of conversion to
prefix or postfix form.These orders are maintained with
the help of Stack
i.e. Last in First out. So we donot need parenthesis in
prefix and postfix notions.
| Is This Answer Correct ? | 14 Yes | 3 No |
Post New Answer View All Answers
What is bubble insertion selection sort?
Why linked list is required?
Is quicksort a stable algorithm?
What is meant by strongly connected in a graph?
Why is arraylist faster than linkedlist?
What is the non linear data structure?
Write a program to reverse a link list.
Can arraylist store primitives?
What is entryset in hashmap?
Define balancing condition for AVL Tree.
What is homogeneous array?
Can the double-checked locking fail on a single processor system?
What do you mean by primary clustering?
Differentiate between iterator and enumeration.
Why do we need linked list?