[编程入门]自定义函数之字符串反转 摘要:解题技巧:利用输入的实际字符串,进行赋值循环操作参考代码:#include<stdio.h>#include<string.h>int main() { char str1[5…… 题解列表 2021年11月24日 0 点赞 0 评论 329 浏览 评分:9.9
java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) { Sc…… 题解列表 2024年01月30日 0 点赞 0 评论 153 浏览 评分:9.9
自定义函数之字符串反转(malloc) 摘要:参考代码如下(反着输出就可以) #include #include #include int main(void) { char* p=N…… 题解列表 2022年12月27日 0 点赞 0 评论 168 浏览 评分:9.9
自定义函数之字符串反转(除了hellow word 外简单的代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[100]; gets(str); int n = strl…… 题解列表 2023年02月09日 0 点赞 0 评论 107 浏览 评分:9.9
栈的最简单的应用——字符逆序输出 摘要:#include <stdio.h>#define SIZE 512int top = 0;char stack[SIZE];void push(char ch);char pop(void);int…… 题解列表 2021年03月11日 0 点赞 0 评论 333 浏览 评分:9.9
1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<bits/c++.h>using namespace std;int Reverse(char a[],char b[]){ int i=0,n;…… 题解列表 2024年06月08日 1 点赞 0 评论 348 浏览 评分:9.9
[编程入门]自定义函数之字符串反转-题解(Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class qwe { public static void main(String[] args)…… 题解列表 2021年01月12日 0 点赞 0 评论 653 浏览 评分:9.9
C语言程序设计题目小解 摘要:解题思路:简单注意事项:无参考代码:#include<stdio.h>#include<string.h> int exchange(char a[],char b[]){ int i,l,j …… 题解列表 2022年05月04日 0 点赞 0 评论 273 浏览 评分:9.9
[编程入门]自定义函数之字符串反转-题解(C语言代码)(格式错误来看下) 摘要: **做题还是要认真读题的** ## 代码 ```c #include #include int main() { char a[1000]; gets(a); int …… 题解列表 2019年12月01日 0 点赞 1 评论 1154 浏览 评分:9.9
题解 1031: [编程入门]自定义函数之字符串反转 摘要:###思路 逆序输出即可 ###注意事项 要写`for(int i=l-1;i>=0;i--)` 1.逆序 2.***l-1*** ###代码 ```cpp #include usi…… 题解列表 2024年02月06日 0 点赞 0 评论 239 浏览 评分:9.9