did i solve correct?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stdvu
    New Member
    • Oct 2008
    • 21

    did i solve correct?

    What will be the output of the following expression:
    ((a >> b) ^ c)& d

    Where a = 12, b =2, c = 5 and d = 2



    Ans ===> 010 (binary form) 2 (decimal form)
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Yep, correct.

    kind regards,

    Jos

    Comment

    • stdvu
      New Member
      • Oct 2008
      • 21

      #3
      THannnnnnnkkkkk sssssssss :D

      Comment

      • RedSon
        Recognized Expert Expert
        • Jan 2007
        • 4980

        #4
        If you keyboard keys are stuck you might want to clean them.

        Comment

        Working...