fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. printf("%d\n", 123);
  5. printf("%5d\n", 123);
  6. printf("%05d\n", 123);
  7. }
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
123
  123
00123