prog.c: In function 'main':
prog.c:5:13: error: format '%d' expects argument of type 'int *', but argument 2 has type 'float *' [-Werror=format=]
scanf("%d %d",&a,&b);
^
prog.c:5:16: error: format '%d' expects argument of type 'int *', but argument 3 has type 'float *' [-Werror=format=]
scanf("%d %d",&a,&b);
^
cc1: all warnings being treated as errors