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 1d array?
Is an arraylist a vector?
What do you mean by secondary clustering?
Which interfaces are implemented by abstractsequentiallist?
How to find middle element of linked list in one pass?
Write an algorithm through which the inserting and deleting of elements can take place in circular queue?
Which is faster arraylist or linked list?
What is the difference between adt and data structure?
What does arraylist remove return?
What is dangling pointer and how to avoid it?
What are doubly linked lists?
What is stack explain with diagram?
Can we store null in arraylist?
What is Storage Structures and File Structures? Can you show their relation? What are the examples of each? Thanks
Does stringutils isempty check for null?