APC-SPS-005.c (212B)
1 /* Bitwise OR '|' */ 2 3 #include<stdio.h> 4 int main() { 5 int x = 12, y = 14, z = 10, res; 6 x++; 7 z++; 8 x = x + y + z; 9 res = x | y; 10 z = res | z; 11 printf("x = %d y = %d z = %d res = %d", x, y, z, res); 12 return 0; 13 }