Bitwise Anding

Discussion in 'MCSA' started by RogueIT, Mar 9, 2009.

  1. RogueIT

    RogueIT Guest

    when I am anding... which is correct

    ***********
    0101
    0011
    ------
    0001

    or

    0101
    0011
     
    RogueIT, Mar 9, 2009
    #1
    1. Advertisements

  2. RogueIT

    John R Guest

    AND means that both bits need to be SET for the resultant bit to be set, so
    your first scenario is correct.

    John R
     
    John R, Mar 9, 2009
    #2
    1. Advertisements

  3. RogueIT

    RogueIT Guest

    Thanks John...you can only imagine the difference that 00=1 would make...

    Have a good day
     
    RogueIT, Mar 9, 2009
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
There are no similar threads yet.
Loading...