题解 | #字符串连接#我没用库函数啊!
字符串连接
https://www.nowcoder.com/practice/40d83e5509b04d20825ae68fe35e9ca8
//C语言版代码 #include <stdio.h> int main() { char s[100], t[100]; scanf("%s%s", s, t); printf("%s%s\n", s, t); return 0; } //C++版代码 #include <iostream> using namespace std; int main() { string s, t; cin >> s >> t; cout << s << t; return 0; } //Java版代码 import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.next(); String t = sc.next(); System.out.println(s + t); } }