Ask a Question

using any bit operation how can a binary number be checked whether it is even or odd?


Rajni

on 2010-10-21 09:30:00  

Do AND operation between the given number and 0000 0001 if the result is 1 then the given number is odd otherwise even.