Convert the following expression to postfix and prefix
X $ Y Z - M + N + P / Q / (R + S)
Answers were Sorted based on User's Feedback
Answer / 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 ? | 9 Yes | 4 No |
Answer / 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 |
What is the use of in c?
Explain what are multibyte characters?
List some of the dynamic data structures in C?
main() { enum _tag{ left=10, right, front=100, back}; printf("%d, %d, %d, %d", left, right, front, back); }
Explain enumerated types in c language?
Explain how can I manipulate strings of multibyte characters?
What is the difference between #include <header file> and #include “header file”?
What's the best way of making my program efficient?
Discuss the function of conditional operator, size of operator and comma operator with examples.
Explain the Difference between the New and Malloc keyword.
Explain that why C is procedural?
Write the test cases for checking a variable having value in range -10.0 to +10.0?