fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main ()
  4. {
  5. int count;
  6. for(count=0;count<5;count++)
  7. {
  8. static int static_Num=1;
  9. printf("static_Num=%d\n",static_Num);
  10. static_Num++;
  11. }
  12. system("PAUSE");
  13. return 0;
  14. }
Success #stdin #stdout #stderr 0s 2168KB
stdin
Standard input is empty
stdout
static_Num=1
static_Num=2
static_Num=3
static_Num=4
static_Num=5
stderr
sh: 1: PAUSE: not found