printf Linux

  

printf %s作为字符串打印时, %4.2s  "."前面表示宽度,后面表示显示几个字符

 

 

posted @ 2020-12-06 12:25  ascertain  阅读(78)  评论(0编辑  收藏  举报