编写题解 1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[30]; scanf("%s",a); fo…… 题解列表 2024年09月21日 0 点赞 0 评论 552 浏览 评分:0.0
字符串与字符的应用 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char s[100]; for(int i=0;i<100;i…… 题解列表 2024年09月10日 0 点赞 0 评论 423 浏览 评分:0.0
使用fgets输入字符串然后实现反转 摘要:解题思路:可以定义一个数组循环输入,也可以定义一个数组然后使用字符串输入格式 "%s" 输入,还可以使用gets输入(gets不安全,尽量不用),这里使用fgets输入,fgets函数具有三个参数,第…… 题解列表 2024年07月22日 2 点赞 0 评论 653 浏览 评分:10.0
【编程入门】自定义函数之字符串反转 摘要:参考代码:#include<stdio.h>#include<string.h> int exchange(char a[],char b[]){ int i,l,j = 0; l = s…… 题解列表 2024年06月21日 0 点赞 0 评论 473 浏览 评分:9.9
编写题解 1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> #include<string.h> void count(char* str){ …… 题解列表 2024年06月11日 0 点赞 0 评论 489 浏览 评分:0.0
1031 字符串反转(注意字符串的长度) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<stdlib.h>int main(){ char a[1000]; …… 题解列表 2024年05月14日 0 点赞 0 评论 439 浏览 评分:0.0
[编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { char a[100],b[100]; …… 题解列表 2024年04月25日 0 点赞 0 评论 475 浏览 评分:0.0
自定义函数求字符串反转 摘要:解题思路:双指针求字符串反转注意事项:参考代码:#include<stdio.h>#include<string.h>void reverse(char *arr);void reverse(char…… 题解列表 2024年03月26日 0 点赞 0 评论 464 浏览 评分:0.0
逆序字符串最强办法 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>void jh(char* a, char* b){ char temp = *a; …… 题解列表 2024年03月08日 0 点赞 0 评论 524 浏览 评分:0.0
1031: [编程入门]自定义函数之字符串反转c语言 高清 细节 简单 彩色 摘要:提示:return 0;可以省,不过最好不要省。代码:#include <stdio.h>#include <stdlib.h>int main(void){ char a[1000];//这里可以输…… 题解列表 2024年02月15日 0 点赞 0 评论 543 浏览 评分:0.0