Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

The prefix expression of the postfix expression AB+CD-* is __________

a) (A+B)*(C-D)
b) +AB*-CD
c) A+*BCD-
d) *+AB-CD

Answer: d
Explanation: To convert from postfix to prefix, we first convert it to infix and then to prefix.
postfix : AB+CD-*
infix ⇒ (A+B) * (C-D)
So, prefix ⇒ +AB*-CD,
⇒ *+AB-CD.
Therefore, correct choice is *+AB-CD

Join The Discussion