C Rapidfire 1
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 ...
blog.jyotiprakash.org2 min read