Evaluate the following prefix expression " ++ 26 + - 1324"
Answer Posted / uma sankar pradhan
++ 26 + - 1324
= +(2+6) + - 1324
= +(2+6) + (1-3)24
= +(2+6)((1-3)+24)
= (2+6)+((1-3)+24)
= 8+(-2+24)
= 8+22
= 30
Is This Answer Correct ? | 109 Yes | 32 No |
Post New Answer View All Answers
What is a matrix? Explain its uses with an example
Write a recursive c function to calculate the height of a binary tree.
What is the need for priority queue?
Can you please explain the difference between array_name and &array_name?
State the rules to be followed during infix to prefix conversions?
Write an algorithm to show various operations on ordered list and arrays
How to get top two numbers from an array?
Why null is not allowed in treemap?
Can hashmap have same key?
What is difference between data type and data structure?
Does arraylist contain duplicates?
Will arraylist maintain insertion order?
What is data structure and its types?
Tell me how to find middle element of linked list in one pass?
Is python good for freshers?