fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. for (int q = -5; q < 10; q++) {
  5. printf("%+100d\n", q);
  6. }
  7. return 0;
  8. }
  9.  
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
                                                                                                  -5
                                                                                                  -4
                                                                                                  -3
                                                                                                  -2
                                                                                                  -1
                                                                                                  +0
                                                                                                  +1
                                                                                                  +2
                                                                                                  +3
                                                                                                  +4
                                                                                                  +5
                                                                                                  +6
                                                                                                  +7
                                                                                                  +8
                                                                                                  +9