In Raw input and output#Press Ctrl-Q to quit:
In C, you generally specify bitmasks using hexadecimal, since C doesn’t have binary literals, and hexadecimal is more concise and readable once you get used to it.
However, starting from C23, binary constants are supported. Given that the newest standard is used (-std=c2x) while building, binary constants can be used by adding the constant specifier 0b, followed by the number in binary.