hexa and 0
NotSqrt opened this issue · 2 comments
NotSqrt commented
Hi,
It seems that printf("%#x", 0)
outputs 0
instead of 0x0
.
Is that normal ?
Thanks !
NotSqrt commented
Ok, I've read the readme, it's expected, and it's the same behavior in stdio.
mpaland commented
Indeed, that's not a bug, it's a feature defined by the standard. I don't like it as well, but yeah, the specification has the last word 😉