/in/foo.c: In function 'main':
/in/foo.c:7:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
scanf("%d%c%d",&a,&b,&c);
^
/in/foo.c:7:14: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=]
scanf("%d%c%d",&a,&b,&c);
^
/in/foo.c:8:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(b='+')
^~
/in/foo.c:10:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
else if(b='-')
^~~~
/in/foo.c:12:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n",d);
^