!.cpp:2:5: warning: 'int main(int)' takes only zero or two arguments [-Wmain] int main(int) ^~~~!.cpp: In function 'int main(int)':!.cpp:4:14: error: expected initializer before 'ca' char string ca[3] ; ^~!.cpp:6:14: error: 'ca' was not declared in this scope scanf("%s",ca[0],ca[1],ca[2]); ^~!.cpp:6:14: note: suggested alternative: 'char' scanf("%s",ca[0],ca[1],ca[2]); ^~ char