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

Answer Posted / madhu

a-b+c*(d/e-(f+g))
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 ?    11 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is rule regarding overriding equals and hascode method?

500


Program to remove duplicate elements in an array.

530


What do you mean by free pool?

508


What can be stored in an arraylist?

469


What are the operations that can be performed on a stack?

503






Can we make hashmap synchronized?

481


Is map a data structure?

484


What is the difference between array sort () and array sort t >()?

454


Why is data structure used?

528


What is data and information explain with example?

542


Tell us the difference between merge and quick sort. Which one would you prefer and why?

587


Define a queue?

556


Which is faster binary or linear search?

481


What is array define its types?

458


Can arraylist be resized?

552