char s[200]; sprintf(s,"a[%2d]=%2d",i,a[i]);//输出到临时字符串变量s中 printf("%-20s",s);//将s左对齐占用20个字符宽度输出
69,337
社区成员
243,078
社区内容
加载中
试试用AI创作助手写篇文章吧