要求:
编程将两个字符串连接起来。例如country与side相连接成为countryside。
输入两行,每行一个字符串(只包含小写字母,长度不超过100);输出一行一个字符串。
样例输入
country
side
样例输出
countryside
代码如下:
#include<stdio.h>
#include<string.h>
int main()
{
char str1[100];
char str2[100];
char str3[200];
要求:
编程将两个字符串连接起来。例如country与side相连接成为countryside。
输入两行,每行一个字符串(只包含小写字母,长度不超过100);输出一行一个字符串。
样例输入
country
side
样例输出
countryside
代码如下:
#include<stdio.h>
#include<string.h>
int main()
{
char str1[100];
char str2[100];
char str3[200];