Main.cc: In function ‘int main()’: Main.cc:4:12: error: invalid operands of types ‘const char [3]’ and ‘int’ to binary ‘operator&’ scanf("%d"&a); ~~~~^~