C Tutorial/printf scanf/printf Field width
Версия от 14:21, 25 мая 2010; (обсуждение)
Field-width
Field-width sets the least number of columns for output.
#include <stdio.h>
main()
{
int i = 9;
printf(">%4d<",i);
}
A
Field-width sets the least number of columns for output.
#include <stdio.h>
main()
{
int i = 9;
printf(">%4d<",i);
}