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