发布网友
共1个回答
热心网友
-8表示左对齐,输出的y=-43456实际上后面还有两个空格
你试一下
int y=-43456;
printf("y=%-8ld",y);
printf("abc\n");
就知道了