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 ?    46 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are types of Collision Resolution Techniques and the methods used in each of the types?

638


Which sorting is best for large data?

495


Is complete binary tree?

477


What do you mean by Syntax Error

558


In what scenario, binary search can be used?

557






Can you use Bubble Sort To sort the number of elements.

496


What is difference between data type and data structure?

411


Mention the steps to insert data at the starting of a singly linked list?

570


What is the difference between list, set and map?

506


Describe tree database. Explain its common uses.

547


What does args stand for?

455


Which is the parent class of sortedset class?

541


What is the purpose of tochararray ()?

473


Do you know how to find if linked list has loop?

636


What are the classification of data structures?

498