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

Explain what is a spanning tree?

953


What are the different types of data type?

897


Is hashmap a data structure?

956


Can binary tree have 1 child?

847


Can we put null value in hashmap?

843


What is the basic of data structure?

958


List the data structures which are used in hierarchical data model.

910


How is a queue works?

919


What is ascii sort order?

873


What is array in data structure with example?

910


What is a hashmap in c?

853


Define union-by-weight?

986


Which collection is fail safe?

829


What is map keyset?

825


How many types of data structures are there?

1055