# include<stdio.h> main() { char c1 = 4,c2 = 6,c3 = 3; c3 = c1 & c2; printf("\n Bitwise AND i.e. c1 & c2 = %d",c3); }
Bitwise AND i.e. c1 & c2 = 4
Suppose c1 = 4, c2 = 6;
The value of c1 & c2 is interpreted:
0000 0100 & 0000 0110 ---------- 0000 0100