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

Answer Posted / sanatomba

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

Is This Answer Correct ?    20 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Devise a program to sort an array using bubble sort.

567


What is the need for extendible hashing?

548


Is data structures and algorithms important?

496


Explain heapsort. What is its complexity?

581


Where is data structure used?

544






Is hashmap synchronized?

509


Can we sort hashmap?

509


What do you mean by level of the tree?

571


What is variable size arrays?and why we use it?

624


What is the difference between a Stack and a Queue.

505


What is the difference between an array and vector?

523


Differentiate between hashset and treeset.

546


In Data Structure, write output of given program.

493


What do you mean by balanced trees?

544


Why is an array homogeneous?

473