0_0_15353817_1456.cpp: In function 'int main()': 0_0_15353817_1456.cpp:11:30: error: invalid conversion from 'char*' to 'char' [-fpermissive] char str[M]={0}, s = str; ^