O Level Papers!
| is a bitwise OR operator, not a logical operator. Logical OR is denoted by || in C.