#include <stdio.h> int i, j; i = 0; j = 0; int main(void) { while ( i <= 8){ if (true) j++; } return 0; }
Standard input is empty
prog.c:3:1: warning: data definition has no type or storage class i = 0; ^ prog.c:3:1: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] prog.c:4:1: warning: data definition has no type or storage class j = 0; ^ prog.c:4:1: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] prog.c: In function 'main': prog.c:7:10: error: 'true' undeclared (first use in this function) if (true) ^ prog.c:7:10: note: each undeclared identifier is reported only once for each function it appears in
Standard output is empty