Problem Description
给定两个字符串string1和string2,将字符串string2连接在string1的后面,并将连接后的字符串输出。
连接后字符串长度不超过110。
Input
输入包含多组数据,每组测试数据包含两行,第一行代表string1,第二行代表string2。
Output
对于每组输入数据,对应输出连接后的字符串,每组输出占一行。
Sample Input
123
654
abs
sfg
Sample Output
123654
abssfg
#include <stdio.h>
#include <stdlib.h>
int main()
{
int i;
char a[200],b[200];
while(gets(a))
{
gets(b);
for(i=0;a[i]!='\0';i++)
{
printf("%c",a[i]);
}
for(i=0;b[i]!='\0';i++)
{
printf("%c",b[i]);
}
printf("\n");
}
return 0;
}