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

which is rt?
asked in Programming by Active (2k points)   | 32 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 Loyal (4.7k 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)   | 170 views
0 votes
0 answers
3
Top Users Feb 2017
  1. Arjun

    5234 Points

  2. Bikram

    4230 Points

  3. Habibkhan

    3828 Points

  4. Aboveallplayer

    3006 Points

  5. Debashish Deka

    2378 Points

  6. sriv_shubham

    2308 Points

  7. Smriti012

    2148 Points

  8. Arnabi

    2008 Points

  9. sh!va

    1672 Points

  10. mcjoshi

    1628 Points

Monthly Topper: Rs. 500 gift card

20,841 questions
26,000 answers
59,638 comments
22,072 users