0_0_24216361_13873.cpp: In function 'int main()': 0_0_24216361_13873.cpp:21:31: error: 'i' was not declared in this scope printf("%c",s[i]); k++; ^