Field-width sets the least number of columns for output.
#include
main()
{
int i = 9;
printf(">%4d<",i);
}
9
If the value is more than the specified column, field-width is ignored.
#include
main()
{
int i = 999999;
printf(">%4d<",i);
}
999999