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 data and its type?
How can I learn data structures?
What is linear-logarithm chasm?
How would you implement two stacks using a single array?
Define a binary tree?
Why linked lists are better than arrays?
In what areas do data structures are applied?
Which sorting technique is best in worst case?
Define b-tree of order m?
How do you solve a selection sort?
What does args stand for?
Which is better stack or queue?
Which is the parent class of printerstatereasons class?
Is copyonwritearraylist thread safe?
what is a balanced tree.