Convert the following expression to postfix and prefix
X $ Y Z - M + N + P / Q / (R + S)
Answer Posted / test
postfix
Z-M+N+P/Q/(R+S)
z-m-n+p/q/rs+
z-m-n+pq//rs+
z-m-n+pq/rs+/
zm- -n+pq/rs+/
zm-n- +pq/rs+/
zm-n-pq/rs+/+
prefix
Z-M+N+P/Q/(R+S)
z-m+n+p/q/+(rs)
z-m+n+//pq+(rs)
-zm+n+//pq+(rs)
+-zmn+//pq+(rs)
++-zmn//pq+(rs)
| Is This Answer Correct ? | 8 Yes | 8 No |
Post New Answer View All Answers
What are the types of arrays in c?
What is return in c programming?
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
Can you please compare array with pointer?
Explain how do you view the path?
how can I convert a string to a number?
Explain how do you sort filenames in a directory?
Describe wild pointers in c?
Explain about the constants which help in debugging?
What does 2n 4c mean?
Define recursion in c.
Is c weakly typed?
Explain how does free() know explain how much memory to release?
What is a far pointer in c?
How does selection sort work in c?