Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Convert the following expression to postfix and prefix
X $ Y Z - M + N + P / Q / (R + S)

Answer Posted / test

postfix

Z-M+N+P/Q/(R+S)

z-m-n+p/q/rs+

z-m-n+pq//rs+

z-m-n+pq/rs+/
zm- -n+pq/rs+/
zm-n- +pq/rs+/
zm-n-pq/rs+/+

prefix

Z-M+N+P/Q/(R+S)

z-m+n+p/q/+(rs)

z-m+n+//pq+(rs)

-zm+n+//pq+(rs)

+-zmn+//pq+(rs)
++-zmn//pq+(rs)

Is This Answer Correct ?    8 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is typedef?

1340


Why static is used in c?

1035


What is the difference between exit() and _exit() function in c?

1021


What is extern c used for?

1001


How can you find out how much memory is available?

1017


Explain what is the benefit of using #define to declare a constant?

1098


Explain what is the benefit of using const for declaring constants?

969


Is c still used?

1001


What are the ways to a null pointer can use in c programming language?

1080


What is #line used for?

991


Do you know pointer in c?

996


Explain how can I convert a string to a number?

1029


Write a program to reverse a linked list in c.

1069


Which node is more powerful and can handle local information processing or graphics processing?

1264


What's the total generic pointer type?

1014