format specifier %*s

printf("%*s", 5, "");
is the same as
printf("%5s", "");

posted @ 2020-07-14 08:07  friedCoder  阅读(727)  评论(0)    收藏  举报