#include<stdio.h>
int main(void)
{
char str[16] = "abcdefh";
char *str2 = "ijk";
int len;
for (len
= 0; str
[len
] != '\0'; printf("%c\n", str
[len
++]));
while (*str2 != '\0') {
str[len++] = *(str2++);
}
return 0;
}
I2luY2x1ZGU8c3RkaW8uaD4KCmludCBtYWluKHZvaWQpCnsKICAgIGNoYXIgc3RyWzE2XSA9ICJhYmNkZWZoIjsKICAgIGNoYXIgKnN0cjIgPSAiaWprIjsKICAgIGludCBsZW47CgogICAgZm9yIChsZW4gPSAwOyBzdHJbbGVuXSAhPSAnXDAnOyBwcmludGYoIiVjXG4iLCBzdHJbbGVuKytdKSk7CiAgICBwcmludGYoIuaWh+Wtl+WIl+OBrumVt+OBleOBryVkXG4iLCBsZW4pOwoKICAgIHdoaWxlICgqc3RyMiAhPSAnXDAnKSB7CiAgICAgICAgc3RyW2xlbisrXSA9ICooc3RyMisrKTsKICAgIH0KICAgIHByaW50ZigiJXNcbiIsIHN0cik7CgogICAgcmV0dXJuIDA7Cn0=