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

which is rt?
asked in Programming by Active (2k points)   | 36 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.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 (6.7k points)   | 172 views
0 votes
0 answers
3


Top Users Mar 2017
  1. rude

    4768 Points

  2. sh!va

    3054 Points

  3. Rahul Jain25

    2920 Points

  4. Kapil

    2728 Points

  5. Debashish Deka

    2602 Points

  6. 2018

    1574 Points

  7. Vignesh Sekar

    1422 Points

  8. Akriti sood

    1378 Points

  9. Bikram

    1342 Points

  10. Sanjay Sharma

    1126 Points

Monthly Topper: Rs. 500 gift card

21,517 questions
26,845 answers
61,157 comments
23,181 users