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

which is rt?
asked in Programming by Active (1.8k points)   | 26 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 Active (1.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)   | 157 views
0 votes
0 answers
3
Top Users Jan 2017
  1. Debashish Deka

    8618 Points

  2. sudsho

    5402 Points

  3. Habibkhan

    4718 Points

  4. Bikram

    4522 Points

  5. Vijay Thakur

    4468 Points

  6. saurabh rai

    4222 Points

  7. Arjun

    4136 Points

  8. santhoshdevulapally

    3742 Points

  9. Sushant Gokhale

    3576 Points

  10. GateSet

    3398 Points

Monthly Topper: Rs. 500 gift card

19,188 questions
24,075 answers
52,997 comments
20,314 users