我们都知道基于C语言的printf("%11d",some_int); 意味着在11个字符的字段内对齐,但是如果我想用动态变量替换这个常量11,我该怎么办?
c linux format
c ×1
format ×1
linux ×1