自定义函数之字符串连接(單個100字符內)
摘要:解题思路:注意事项:参考代码:#include<stdio.h> void fun_0(char *a,char *b,char *c,int len_a,int len_b);//函數聲明 in……
[编程入门]自定义函数之字符串连接
摘要:大体思路:将arr数组元素赋给crr然后再将brr赋给crr,最后加一个'\0'然后输出
参考代码
```c
void Link(char arr[], char brr[], char c……
题目 1032: [编程入门]自定义函数之字符串连接
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include <string.h>int main(){ char a[520],b[520]; gets(a); ……
自定义函数之字符串连接
摘要:解题思路:可以直接使用strcat函数来实现连接功能注意事项:注意gets函数要使用两次参考代码:#include<stdio.h>#include<string.h>int main(){ c……
java--study||O.o
摘要:参考代码:import java.util.Scanner;
public class Main
{ public static void main(String[] args)
{ Sc……
编写题解 1032: [编程入门]自定义函数之字符串连接
摘要:解题思路:注意事项:参考代码:#include<stdio.h>void connect(char a[],char b[]){ int i,j=0; while(a[i]!=0)……