4 4 votes The infix expression $A+(B-C)^*D$ is correctly represented in prefix notation as $A+B-C^*D$ $+A^*-BCD$ $ABC-D^*+$ $A+BC-D^*$ Data Structures isro2009 data-structures stack infix-prefix + – go_editor 4.7k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
Best answer 7 7 votes Option B Scan Right to Left Stack : * ) - Pop - ) by seeing ( Stack: * Pop * as incoming is + Stack : + Output : +A*-BCD shivanisrivarshini answered Jun 14, 2016 • selected Jun 14, 2016 by LeenSharma shivanisrivarshini comment Share Follow 0 reply Please log in or register to add a comment.
6 6 votes ( ) has highest priority then * then +. so whatever inside the bracket will be evaluated first A+(−BC) *D A+((−BC) *D)) A+(*−BCD) (A+(*−BCD)) +A*−BCD OPTION B asu answered Jun 14, 2016 asu comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes Option B) is correct A+ ( B - D) * DA + - BC * DA + * - BCD+A * - BCD Umesh Shelke answered Aug 26, 2025 Umesh Shelke comment Share Follow 0 reply Please log in or register to add a comment.