Convert following infix expression to the prefix expression.
a - b + c * (d / e - (f + g))
Answer Posted / amit patra
=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
=*-+abcde+fg
| Is This Answer Correct ? | 1 Yes | 13 No |
Post New Answer View All Answers
What is the complexity of arrays sort?
What is map entry?
How many passes does bubble sort need?
How to inverting a function in sort and searching?
Are linked lists useful?
What do you mean by external sorting?
Can you please explain the difference between array_name and &array_name?
Does the minimal spanning tree of a graph give the shortest distance between any 2 specified nodes?
What is data structure? Explain.
What are the types of collection?
What are the operations that can be performed on a stack?
What are the difference between arraylist and linkedlist from the perspective of sorting?
Explain about set and their types in a collection?
How do I remove a value from a list?
What's the difference between a hashtable and a hashmap?