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
Is quicksort faster than merge sort?
Are lists mutable?
What is difference between data type and variable?
Does treeset remove duplicates?
Are dictionaries mutable?
what is Singly Linked list?
What is the default size of arraylist?
When new data are to be inserted into a data structure?
What is list and its types?
What is two-dimensional array?
Does arraylist allow null values?
What is static array?
What is treemap chart?
Explain how to find 3rd element from end in a linked list in one pass?
Define separate chaining?