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 / elle

a-b+c*(d/e-(f+g))
=a-b+c*(/de-(+fg))
=a-b+c*(T-S) where T=/de,S=+fg
=a-b+c*-(TS)
=-ab+c*-(TS)
=-ab+c*V where V=-TS
=-ab+*cV
=X+Y where X=-ab,*cV=Y
=+XY
=+-ab*cV
=+-ab*c-TS
=+-ab*c-/de+fg

Is This Answer Correct ?    41 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it legal to initialize list like this?

925


Is array faster than arraylist?

926


What do you mean by Runtime Error

989


Explain what are the major data structures used in the hierarchical data model?

966


Can you list out the areas in which data structures are applied extensively?

986


What is the best case complexity of bubble sort?

824


Which programming language is best for data structures?

858


What are red-black trees?

944


Why linked list is required?

821


Describe binary tree and its property.

877


In what areas do data structures applied?

896


Advanced problems related to Data Structures were asked

899


Suppose in an integer array, there is 1 to 100 number, out of one is duplicate, how to find?

937


How does linkedhashset work internally?

904


How do you find a string is anagram or not?

878