Printing leading '-' in C?

前端 未结 0 2013
暗喜
暗喜 2021-01-07 01:56

i was trying to print numbers in right justified format:

suppose,

input:

printf("\\n%d", 1234567);
printf("\\n%07d", 5);


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题