fork download
  1. #include <stdio.h>
  2. int main (void) {
  3. int x;
  4. for (x = 0; x < 5; x++);
  5. printf ("Final value of x: %d\n", x);
  6. return (0);
  7. }
Success #stdin #stdout 0.01s 5316KB
stdin
5
stdout
Final value of x: 5