fork download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. int counter;
  6. /* counter for loop */
  7.  
  8. for (counter = 0; counter < 5; ++counter) { // 1
  9. printf("x %d\n", counter+1); // 2
  10. } //3
  11. return (0);
  12. }
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
x 1
x 2
x 3
x 4
x 5