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

Answer Posted / babitha p

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

Answer is 30

Is This Answer Correct ?    31 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Two linked lists are given, find out the sum of them without altering the linked list?

550


Can we insert null in set?

473


What is the complexity of selection sort?

452


Which language is best for learning data structures and algorithms?

489


Why do we use trees in data structures?

484






What is time complexity of bubble sort?

457


Is null allowed in list?

434


Which is the parent class of printerstatereasons class?

468


What is data structure explain different types of data structures with examples?

501


What is the best case complexity of quicksort?

509


What is the difference between arraylist and linkedlist?

481


What is the difference between Array and Array List ? Explain in brief with example.

554


For the following COBOL code, draw the Binary tree? 01 STUDENT_REC. 02 NAME. 03 FIRST_NAME PIC X(10). 03 LAST_NAME PIC X(10). 02 YEAR_OF_STUDY. 03 FIRST_SEM PIC XX. 03 SECOND_SEM PIC XX.

775


What is sequential mapping in data structure?

455


What does bubble sort do?

450