prog.c: In function ‘main’:
prog.c:7:7: warning: variable ‘d’ set but not used [-Wunused-but-set-variable]
int d;
^
prog.c:10:22: error: ‘d’ undeclared (first use in this function)
printf("%d%d%d",a,b,d);
^
prog.c:10:22: note: each undeclared identifier is reported only once for each function it appears in