题解 1126: C语言训练-字符串正反连接(C语言) #C语言:字符串正反连接##题目所给字符串正序和反序连接,形成新串并输出。##主要步骤-gets函数输入字符串,存入数组a中-将a的元素反序存入数组b中-strcat函数连接a,b数组输出即可##完整参考代码```c#include#includeintmain(void){chara[100];ch 题解列表 2022年08月26日 0 点赞 0 评论 654 浏览 评分:0.0
1126: C语言训练-字符串正反连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { char str[50]; gets(str); printf("%s",str); int l…… 题解列表 2022年06月23日 0 点赞 0 评论 519 浏览 评分:0.0
纯新手,来看看呀QAQ 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,j,k; char a[100],b[100]; gets(a); for…… 题解列表 2022年04月17日 0 点赞 0 评论 534 浏览 评分:0.0
写题解 1126: C语言训练-字符串正反连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int m,i; char str[51]; gets(str); m=st…… 题解列表 2022年03月09日 0 点赞 0 评论 701 浏览 评分:0.0
1126: C语言训练-字符串正反连接(c语言5种解法) 摘要:解题思路: 反转加追加注意事项: 个人推荐解法3,简单易懂参考代码://1、流氓输出: #include<stdio.h> #include<string.h> int main() { …… 题解列表 2022年03月06日 0 点赞 0 评论 1650 浏览 评分:9.9
[Sapphire]1126:字符串正反连接(C语言代码) 摘要:解题思路:用新数组接收反转过后的原数组元素即可。注意事项:1.用joe[k]='\0'结束。参考代码:#include<stdio.h> #include<string.h> in…… 题解列表 2022年02月16日 0 点赞 0 评论 699 浏览 评分:9.9
1126: C语言训练-字符串正反连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>char a[50],b[50];int i,j;void fun1(char a[]){ j…… 题解列表 2022年01月19日 0 点赞 0 评论 584 浏览 评分:0.0
1126: C语言训练-字符串正反连接 摘要:解题思路:将字符逆序放到另一个数组内,然后拼接两个数组当然,也可以逆序的放在同一个数组内,如方法二参考代码:#include <stdio.h> #include <stdlib.h> #incl…… 题解列表 2021年12月27日 0 点赞 0 评论 1386 浏览 评分:9.9
C语言训练-字符串正反连接 正常思路解法 摘要:解题思路:通过正常的数组代换解题注意事项:参考代码:#include<stdio.h> #include<string.h> int main(){ int b,m,n,i,j,k,q; …… 题解列表 2021年10月12日 0 点赞 0 评论 900 浏览 评分:9.9
编写题解 1126: C语言训练-字符串正反连接 摘要:解题思路:注意字符串结束符注意事项:参考代码:#include <stdio.h> #include <stdlib.h> #include <string.h> int main() {…… 题解列表 2021年09月19日 0 点赞 0 评论 883 浏览 评分:0.0