Main.cc: In function 'int main()': Main.cc:6:6: error: expected ';' before 'int' int ty='a'; ^ Main.cc:7:14: error: 'ty' was not declared in this scope cout << ty; ^