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