Home » C Programming » Bitwise Operators

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

Correct Answer: 12, 1, 12

← Previous Question Next Question→

Discussion & Comments

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