prog.c: In function ‘main’:
prog.c:5:34: error: ‘a’ undeclared (first use in this function)
printf("%d is greater than %d",&a,&b);
^
prog.c:5:34: note: each undeclared identifier is reported only once for each function it appears in
prog.c:5:37: error: ‘b’ undeclared (first use in this function)
printf("%d is greater than %d",&a,&b);
^
prog.c:7:1: error: ‘else’ without a previous ‘if’
else
^~~~