example of bitwise-and operatorin the following


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

 

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: example of bitwise-and operatorin the following
Reference No:- TGS0305566

Expected delivery within 24 Hours