current position:Home>C language period Mo solution!!

C language period Mo solution!!

2022-01-26 22:10:56 CSDN Q & A

Don't use C Library function , Concatenate strings : Enter two strings ending with a carriage return , Connect the two strings to produce a new string , Output this new string ( The two strings entered remain unchanged ).




Refer to the answer 1:



Refer to the answer 2:



Refer to the answer 3:
#include<bits/stdc++.h>using namespace std;int main() {   string s;   string x,y;   cin>>x>>y;   s=x+y;   cout<<s<<endl;   return 0;}

# I'm not here to find fault




Refer to the answer 4:

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/01/202201262210540106.html

Random recommended