Convert the following expression to postfix and prefix
(A+B) * (D-C)

Answer Posted / gaurav

Prefix :*+AB-DC
Postfix:AB+DC-*

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell us two differences between new () and malloc ()?

616


how should functions be apportioned among source files?

627


What is spark map function?

582


Write a program to swap two numbers without using third variable?

816


Which node is more powerful and can handle local information processing or graphics processing?

829






What does 4d mean in c?

949


Why can arithmetic operations not be performed on void pointers?

590


PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

1716


What are enumerated types?

656


What is a scope resolution operator in c?

751


What is a ternary operator in c?

655


What do you mean by c what are the main characteristics of c language?

572


Can we compile a program without main() function?

636


What does the && operator do in a program code?

698


Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

5056