0_0_17954544_8048.cpp: In function 'int main(int, char**)': 0_0_17954544_8048.cpp:9:7: error: expected ';' before 'cout' cout<<a[c-1]<<endl; ^