Evaluate the following prefix expression " ++ 26 + - 1324"
Answer Posted / pallab datta
One operator is missing in this expression. There are six operands ( 2, 6, 1, 3, 2, 4 ) and four operators ( + , + , + , - ). The number of operators must be exactly 1 less than the number of operands to be a proper expression. Here the number of operator is 2 less than the number of operands. Hence evaluation of this expression is not possible.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is entryset method in map?
How will you reverse Linked List.
What is two-dimensional array?
List some applications of tree-data structure?
What is arrays copyof?
What is data structure and why it is important?
What is the best case for bubble sort?
in tree construction which is the suitable efficient data structure? (Array, linked list, stack, queue)
What are the disadvantages of using collection classes over arrays?
What are the applications of stack?
Differentiate among cycle, path, and circuit?
Can we store null in arraylist?
What do you understand by stable sort?
What is the use of substring?
What is reduction to sorting method?