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 | 3 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 | 7 No |
Define function ?Explain about arguments?
2 Answers Geometric Software, Infosys,
What are the two types of functions in c?
write a program in c to read array check element is present or not?
What are keywords c?
write a c program to find largest number in matrix(in each row,each column, diagonally, and in the whole matrix)? Its urgent.
How can you access memory located at a certain address?
what is the difference between static variable and register variable?
What are the features of c language?
What is getche() function?
What is the best way to store flag values in a program?
Find Index of least significant bit set in an Integer. ex. int value is say 10001000 results should be 4.
Tell me when would you use a pointer to a function?