/in/foo.c: In function 'main':
/in/foo.c:4:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
scanf("%d%d",a,b);
^
/in/foo.c:4:12: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
scanf("%d%d",a,b);
^
/in/foo.c:5:7: warning: left-hand operand of comma expression has no effect [-Wunused-value]
for(a,b,s=0;a<=b;a++)
^
/in/foo.c:5:9: warning: left-hand operand of comma expression has no effect [-Wunused-value]
for(a,b,s=0;a<=b;a++)
^
/in/foo.c:9:2: error: expected ';' before '}' token
}
^