1 1 vote What is the result of the following expression? (1 & 2) + (3 & 4) 1 3 2 0 Programming and DS ugcnetcse-dec2012-paper2 programming-in-c operators + – go_editor 4.2k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
Best answer 4 4 votes $\frac{\begin{matrix} &0 &0 &1 & (1)\\ \And& 0 &1 & 0 & (2) \end{matrix}}{\begin{matrix} \ \ \ \ & 0 &0 & 0 & (0) \end{matrix}}$ $\frac{\begin{matrix} &0 &1 &1 & (3)\\ \And& 1 &0 & 0 & (4) \end{matrix}}{\begin{matrix} \ \ \ \ & 0 &0 & 0 & (0) \end{matrix}}$ $\frac{\begin{matrix} &0 &0 &0 & (0)\\ + & 0 &0 & 0 & (0) \end{matrix}}{\begin{matrix} \ \ \ \ & 0 &0 & 0 & (0) \end{matrix}}$ ( 1 & 2 )=0 ( 3 & 4 )=0 ( 1 & 2 )+( 3 & 4 )=0 Hence,Option(D)0 is the correct choice. LeenSharma answered Jul 11, 2016 • selected Jul 12, 2016 by shekhar chauhan LeenSharma comment Share Follow See 1 comment 1 1 comment reply Devshree Dubey commented Oct 29, 2017 reply Follow flag @LeenSharma,I hope the above operation is of bitwise operator. :) 0 0 replyShare Please log in or register to add a comment.