APC-SPS-005.c (349B)
1 /* 2 * Author: Amit Dutta (amitdutta4255@gmail.com) | Date: 12 Dec 2025 3 * Repo: https://github.com/notamitgamer/bsc 4 * License: MIT 5 */ 6 7 /* Bitwise OR '|' */ 8 9 #include<stdio.h> 10 int main() { 11 int x = 12, y = 14, z = 10, res; 12 x++; 13 z++; 14 x = x + y + z; 15 res = x | y; 16 z = res | z; 17 printf("x = %d y = %d z = %d res = %d", x, y, z, res); 18 return 0; 19 }