Main.cc: In function 'int main()':
Main.cc:7:10: warning: right operand of comma operator has no effect [-Wunused-value]
cin>>a,b;
^
Main.cc:8:6: error: redeclaration of 'int a'
int a=c;
^
Main.cc:6:6: note: 'int a' previously declared here
int a,b;
^
Main.cc:8:8: error: 'c' was not declared in this scope
int a=c;
^