Home » C Programming » Bitwise Operators

What will be the output of the program? #include int main() { int i=32, j=0x20, k, l, m; k=i|j; l=i&j; m=k^l; printf("%d, %d, %d, %d, %d\n", i, j, k, l, m); return 0; }

Correct Answer: 32, 32, 32, 32, 0

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion