Convert following infix expression to the prefix expression.
a - b + c * (d / e - (f + g))

Answer Posted / tadveer verma

a-b+c*(d/e- (+fg))
a-b+c*(/de - +fg)
a-b+c* -/de+fg
a-b+ *c-/de+fg
-ab + *c-/de+fg
+-ab*c-/de+fg

Is This Answer Correct ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is bubble sort done?

459


How to find the duplicate in an array?

541


What is difference between hashmap and treemap?

490


Why is hashmap faster than arraylist?

526


How do you declare An array of three pointers to chars

506






What are the major data structures used in the rdbms?

551


What are the types of algorithms?

547


Can we add duplicate keys in a hashmap? What will happen if we attempt to add duplicate values?

473


What is an object array?

520


Is stack a dynamic data structure?

483


What do you mean by double hashing?

573


Which is the parent class of sortedset class?

543


What is data structure what is need of it?

478


How do you find the number of comparisons in bubble sort?

509


What is entryset method in map?

469