``0`` flag needs to be ignored for integers if precision is specified
Opened this issue · 1 comments
Deleted user commented
C11 says "if a precision is specified, the 0 flags is ignored" for various integer conversion specifiers.
Test cases:
printf("%02.0u", 0);
=>printf("%02.0d", 0);
=>
mpaland commented
Can confirm this, good catch!