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 are the two types of structure?

1077


Explain what happens if you free a pointer twice?

1063


Difference between Function to pointer and pointer to function

1054


What is typedef?

1398


Difference between MAC vs. IP Addressing

1132


What is nested structure in c?

1049


List the difference between a "copy constructor" and a "assignment operator"?

995


code for quick sort?

2008


What is the purpose of the statement: strcat (S2, S1)?

1155


write a program to print largest number of each row of a 2D array

2314


How is a macro different from a function?

1155


Is return a keyword in c?

1064


What is the use of printf() and scanf() functions?

1114


How do we make a global variable accessible across files? Explain the extern keyword?

1870


What is a structure member in c?

991