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 the scope of local variable in c?

1145


What is unary operator?

1115


Can include files be nested? How many levels deep can include files be nested?

1178


What is define c?

1092


What is union and structure in c?

1243


How does free() know explain how much memory to release?

1067


How many loops are there in c?

1122


C language questions for civil engineering

1728


Explain what are preprocessor directives?

1078


Why does not c have an exponentiation operator?

1065


What are integer variable, floating-point variable and character variable?

1268


What is the difference between class and object in c?

1188


What is dangling pointer in c?

1254


Explain the use of 'auto' keyword in c programming?

1128


any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()

1135