We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
According to cppreference.com, and as implemented in glibc, the alternative mode for %o must ensure at least one leading zero is printed. Thus,
%o
printf_("%#.0o", 0)
must produce "0", not "". And yet - the latter is produced.
"0"
""