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


Please Help Members By Posting Answers For Below Questions

What is data and its type?

490


How can I learn data structures?

530


What is linear-logarithm chasm?

546


How would you implement two stacks using a single array?

561


Define a binary tree?

563






Why linked lists are better than arrays?

528


In what areas do data structures are applied?

541


Which sorting technique is best in worst case?

504


Define b-tree of order m?

570


How do you solve a selection sort?

509


What does args stand for?

463


Which is better stack or queue?

457


Which is the parent class of printerstatereasons class?

477


Is copyonwritearraylist thread safe?

472


what is a balanced tree.

595