Evaluate the following prefix expression " ++ 26 + - 1324"

Answer Posted / majeed

++26+-1324
=+(2+6)+(1-3)24
=(2+6)+(1-3)+(24)
=8+(-2)+24
=8-2+24
=6+24
30
++26+-1324
=+(2+6)+(13-24)
=8-11
=-3

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a binary search tree? Explain with example?

509


Differentiate between file and structure storage structure.

515


Design a datastructure to represent the movement of a knight on a chess board

561


Is treemap thread safe?

515


Tell me what should be done in the base case for this recursive problem?

491






How to reverse a linked list iterative algorithm?

488


Define secondary clustering?

520


Is treeset sorted?

527


What are the types of queues?

583


What is the difference between hashmap and treemap?

438


What is linear-logarithm chasm?

546


What is the most used data structure?

464


What do u mean by array?

482


How does a treemap sort?

430


How many types of lists are there?

526