摘要: #include <stdio.h> //数组整体赋值使用scanf()用数组名只能给第一个赋值 main() { int a[4],b; scanf("%d",a); for(b=0;b<4;b++) printf("%d ",a[b]); getchar(); } 搜索 复制 阅读全文
posted @ 2022-09-30 15:07 myrj 阅读(220) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <string.h> void lianjie(char a[],char b[],char c[]) { int i,j,len1=strlen(a),len2=strlen(b); for(i=0;i<len1;i++) c[i]=a[i] 阅读全文
posted @ 2022-09-30 11:04 myrj 阅读(133) 评论(0) 推荐(0) 编辑