fork download
  1. #include<stdio.h>
  2. int x, y=x, z=y;
  3. void main()
  4. {
  5. if ( x < y && y < z )
  6. printf( "x is less than z" );
  7. else if (x > z)
  8. prinf("x is greater than z");
  9. else
  10. prinf("%d %d", x,z);
  11. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:2: error: initializer element is not constant
prog.c:2: error: initializer element is not constant
prog.c:3: warning: return type of ‘main’ is not ‘int’
prog.c: In function ‘main’:
prog.c:8: warning: implicit declaration of function ‘prinf’
stdout
Standard output is empty