fork download
  1. #include <stdio.h>
  2.  
  3. typedef int (*Main_fp)( void );
  4.  
  5. int main( void )
  6. {
  7. static int a = 0;
  8. Main_fp Test = main;
  9.  
  10.  
  11. if ( 10 >= a )
  12. {
  13. printf( "%d\n",
  14. 2U * a++ );
  15. Test();
  16. }
  17.  
  18.  
  19. return 0;
  20. }
  21.  
Success #stdin #stdout 0.01s 1720KB
stdin
Standard input is empty
stdout
0
2
4
6
8
10
12
14
16
18
20