Main.cc: In function 'int main()': Main.cc:10:9: error: expected ',' or ';' before 'x' x[0]=1; ^ Main.cc:16:11: error: 'x' was not declared in this scope cout<