Main.cc: In function 'int main()':
Main.cc:5:27: error: invalid operands of types 'int*' and 'int' to binary 'operator&'
while(scanf("%d%d",&a&b))
^
Main.cc:6:22: warning: format '%d' expects a matching 'int' argument [-Wformat=]
printf("%d%d",a+b);
^