CJCoding With Joseph
← Back to Question List
C Code Walkthrough #23

Bitwise AND and OR

mediumOperators

📄 Code

Read carefully — what does this print?
1#include <stdio.h>
2int main() {
3 int a = 12, b = 10;
4 printf("%d %d\n", a & b, a | b);
5 return 0;
6}

🎯 Your Answer