RosettaCodeData/Task/Even-or-odd/C/even-or-odd-1.c
2023-07-01 13:44:08 -04:00

5 lines
60 B
C

if (x & 1) {
/* x is odd */
} else {
/* or not */
}