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

which is rt?
asked in Programming by Active (2k points)   | 43 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 (5.9k 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 (6.9k points)   | 178 views
0 votes
0 answers
3


Top Users May 2017
  1. akash.dinkar12

    3166 Points

  2. pawan kumarln

    1648 Points

  3. sh!va

    1600 Points

  4. Arjun

    1380 Points

  5. Bikram

    1372 Points

  6. Devshree Dubey

    1272 Points

  7. Debashish Deka

    1132 Points

  8. Angkit

    1044 Points

  9. LeenSharma

    900 Points

  10. srestha

    714 Points

Monthly Topper: Rs. 500 gift card
Top Users 2017 May 22 - 28
  1. Bikram

    458 Points

  2. pawan kumarln

    274 Points

  3. Ahwan

    236 Points

  4. Arnab Bhadra

    234 Points

  5. bharti

    190 Points


22,778 questions
29,106 answers
65,166 comments
27,647 users