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
Do sets allow duplicates?
Is an arraylist a vector?
What do you mean by heap order property?
write a program to show the insertion and deletion of an element in an array using the position
When ArrayIndexOutOfBoundsException occurs?
Which algorithm is used in arrays sort?
Can we override compareto method for enumerations?
Can I provide array size dynamically?
What are different types of algorithms?
What is the use of isEmpty() member methods?
What are the drawbacks of array implementation of queue?
Describe the complexity of Quick Sort
What is the capacity of arraylist?
Which data structures are used in bfs and dfs algorithm?
How many types of data structure are there?