GATE CSE
First time here? Checkout the FAQ!
x
0 votes
60 views
option : infix prefix or postfix

which is rt?
asked in Programming by Active (2k points)   | 60 views

1 Answer

0 votes
Infix notation is easy to read for humans , whereas pre-/postfix notation is easier to parse for a machine. The big advantage in prefix/postfix notation is that there never arise any questions like operator precedence.

 But postfix expressions are preferred because  implementation of code for solving postfix expression is easier and  much more faster & efficient then solving prefix expressions.
answered by Boss (6.3k points)  
here answr is prefix ...i think it is not right .
yes it will be postfix and not prefix..

Related questions

+1 vote
2 answers
1
asked in Algorithms by radha gogia Boss (7.6k points)   | 193 views
0 votes
0 answers
3


Top Users Aug 2017
  1. Bikram

    5174 Points

  2. ABKUNDAN

    4730 Points

  3. akash.dinkar12

    3504 Points

  4. manu00x

    3492 Points

  5. rahul sharma 5

    3188 Points

  6. makhdoom ghaya

    2700 Points

  7. just_bhavana

    2432 Points

  8. stblue

    2244 Points

  9. Tesla!

    2090 Points

  10. pawan kumarln

    1874 Points


25,065 questions
32,220 answers
75,085 comments
30,231 users