Parenthesis are never needed in prefix or postfix
expressions. Why?
Answer Posted / jayanth
Basically Parenthesis indicate the operations which
need to be carried out first ie according to the
BODMAS rule..SO in case of postfix or prefix expression
they are actualy conversions of the orginal standard
equation.Where the brackets have already been taken
into consideration,,,and the formed prefix/postfix
expression is the correct order of expansion of a given
mathematical statement..
Is This Answer Correct ? | 149 Yes | 10 No |
Post New Answer View All Answers
State the different ways of representing expressions?
What is a spanning tree?does the minimum spanning tree of a graph give the shortest distance between any 2 specified nodes?
Write a program to insert an element and in the specific position in the array?
What is an externalizable interface?
Define degree of the node?
Can you distinguish between ArrayList and Array?
Differentiate bfs and dfs?
Design a datastructure to represent the movement of a knight on a chess board
Suppose in an integer array, there is 1 to 100 number, out of one is duplicate, how to find?
Calculate the address of a random element present in a 2d array, given base address as ba.
What is data and information explain with example?
Which is the parent class of printerstatereasons class?
Differentiate between hashset and treeset.
Can you have an arraylist of arrays?
Which language is best for data structures?