fork download
  1. #include <stdio.h> // standart I/O header
  2. #define y 100 // define y=100
  3.  
  4. void main ( int x ) { if ( x <= y ) && printf ( " %d \n ", x * x ) && main ( x + 1 ) }
Compilation error #stdin compilation error #stdout 0s 2160KB
stdin
Standard input is empty
compilation info
prog.c:4:6: warning: return type of 'main' is not 'int' [-Wmain]
 void main ( int x ) { if ( x <= y ) && printf ( " %d \n ", x * x ) && main ( x + 1 ) }
      ^
prog.c:4:6: warning: 'main' takes only zero or two arguments [-Wmain]
prog.c: In function 'main':
prog.c:4:37: warning: statement with no effect [-Wunused-value]
 void main ( int x ) { if ( x <= y ) && printf ( " %d \n ", x * x ) && main ( x + 1 ) }
                                     ^
prog.c:4:47: error: expected ';' before '(' token
 void main ( int x ) { if ( x <= y ) && printf ( " %d \n ", x * x ) && main ( x + 1 ) }
                                               ^
prog.c:4:1: error: label 'printf' used but not defined
 void main ( int x ) { if ( x <= y ) && printf ( " %d \n ", x * x ) && main ( x + 1 ) }
 ^
stdout
Standard output is empty