Main.cc: In function 'int main()': Main.cc:5:21: error: invalid operands of types 'int*' and 'int' to binary 'operator&' scanf("%d%d",&n&m); ^