Why the output character width is 5, is why is % 5 d, a digital character width should not be 2, 3 * 2=6 should not be % d?

CodePudding user response:
A single character width is 1
The 5 d here is just a display alignment
Run it and see
To turn to other then run 5
Compare the
Don't just look at the code to run more debugging
CodePudding user response: