/in/foo.c:1:9: error: #include expects "FILENAME" or <FILENAME>
#include'stdio.h'
^~~~~~~~~
/in/foo.c:2:1: error: unknown type name 'using'
using namespace std;
^~~~~
/in/foo.c:2:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
using namespace std;
^~~
/in/foo.c:3:6: warning: return type of 'main' is not 'int' [-Wmain]
void main(){
^~~~
/in/foo.c: In function 'main':
/in/foo.c:5:1: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
scanf("%d%d",&a&b);
^~~~~
/in/foo.c:5:1: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:5:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:5:16: error: invalid operands to binary & (have 'int *' and 'int')
scanf("%d%d",&a&b);
~~^
/in/foo.c:6:1: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
printf("%d\n",a+b);
^~~~~~
/in/foo.c:6:1: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:6:1: note: include '<stdio.h>' or provide a declaration of 'printf'