C Rapidfire 1
Dec 31, 2023 · 2 min read · Look at the code, figure out the output, and then read the explanation to see if you got it right. Bitwise Puzzle: int x = 5; int y = x | 2; printf("%d\n", y); Output: 7 Explanation: The bitwise OR (|) operation between 5 (101 in binary) and 2 ...
Join discussion