1// | is the binary "or" operator
2// a |= b is equivalent to a = a|b
3
4#include <stdio.h>
5
6int main() {
7 int a = 10; // 00001010 in binary
8 int b = 6; // 00000110 in binary
9
10 printf("Result : %d\n", a |= b);
11 // Result is 14 which is OOOO111O in binary
12
13 return 0;
14}