0_0_32373853_30766.cpp: In function 'int main()': 0_0_32373853_30766.cpp:13:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] if(a[i]!='X') ^ 0_0_32373853_30766.cpp:15:6: error: expected ';' before '}' token } ^