#include <stdio.h>
#include <string.h>
void r(char str1[], char str2[])
{
int len=strlen(str1);
int len2=strlen(str2);
str1[len-1]=0;
str2[len-1]=0;
}
int main() {
char str1[20];
char str2[20];
char str3[40];
fgets(str1, sizeof(str1), stdin);
fgets(str2, sizeof(str2), stdin);
r(str1, str2);
strcpy(str3, str1);
strcat(str3, str2);
puts(str3);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: