Example of Bitwise-AND Operator
In the following example, the bitwise-AND operator (&) compares the bits of two integers, nNumA and nNumB:
// Example of the bitwise-AND operator
int nNumA=1, nNumB=3, nNumC; // 00000001, 00000011
nNumC = nNumA & nNumB; // nNumC is now 1