/in/foo.c: In function 'main':
/in/foo.c:5:8: error: expected identifier or '(' before 'int'
int a,int b;
^~~
/in/foo.c:6:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
scanf("%d",a);
^
/in/foo.c:7:13: error: 'b' undeclared (first use in this function)
scanf("%d",b);
^
/in/foo.c:7:13: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:8:2: error: 'sum' undeclared (first use in this function)
sum=a+b;
^~~