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 following infix expression to the prefix expression.
a - b + c * (d / e - (f + g))

Answer Posted / deepshikha singh

first we solve() because it has greatest priority
step1 : a-b+c*(d/e-[+fg])
step2 : a-b+c*([/de]-[+fg])
step3 : a-b+c*[-/de+fg]
step4 : a-b+[*c-/de+fg]
step5 : a-[+b*c-/de+fg]
step6: -a+b*c-/de+fg
note :[] sign is use to differentiate two terms after applying
operations.

Is This Answer Correct ?    3 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is linkedlist thread safe?

868


How many sorting techniques are there?

864


Which is the parent class of printerstatereasons class?

884


Explain recursive function & what is the data structures used to perform recursion?

1049


Two linked lists are given, find out the sum of them without altering the linked list?

966


In depth questions regarding the data structures and the Databases used in the Projects developed.

947


What is the limit of arraylist?

932


Which is the parent class of linkedhashset class?

910


How many passes does bubble sort need?

923


What is the need for path compression?

1088


Define structure property in a heap?

975


What do you mean by open addressing?

995


Is hashtable throw concurrentmodificationexception?

760


What is the best case time complexity of bubble sort?

1031


What is a sorting algorithm in data structure?

915