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 ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you use a 'Local Block'?

1230


What are the different types of errors?

1210


Is c++ based on c?

1134


If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

1313


What is the difference between union and structure in c?

1283


How do I swap bytes?

1123


What is s in c?

1099


what will be the output for the following main() { printf("hi" "hello"); }

11169


What does void main () mean?

1305


What is a loop?

1113


hi send me sample aptitude papers of cts?

2222


What is difference between far and near pointers?

1108


How do you define a function?

1079


How can you find out how much memory is available?

1115


What is binary tree in c?

1138