Compile Error
/in/foo.c: In function 'main':
/in/foo.c:6:22: error: invalid operands to binary & (have 'int *' and 'int')
scanf("%d%d", &a &b);
~~ ^
代码
#include <stdio.h>
int main()
{
int a,b;
scanf("%d%d", &a &b);
printf("%d", a+b);
return 0;
}