#include<stdio.h> #define x 5+2 void main() { int i; i=x*x*x; }
Standard input is empty
prog.c:3:6: warning: return type of ‘main’ is not ‘int’ [-Wmain] void main() ^~~~ prog.c: In function ‘main’: prog.c:7:8: error: expected expression before ‘%’ token printf(%d,i); ^ prog.c:5:5: warning: variable ‘i’ set but not used [-Wunused-but-set-variable] int i; ^
Standard output is empty