Basic Types in C: legal way to write the number 65 assuming ASCII character set
Solution 1:
I tried all four examples in my C interpreter:
ci> 'A'
65
ci> 0101
65
ci> 0x41
65
ci> 0b1000001
ci: error: Syntax error
ci>
Now, on the one hand, this ci
is not a robust, modern, conforming C implementation. But on the other hand, just like the C standard, it has never heard of 0b
constants, which are a useful but nonstandard extension.