1112
来源:互联网 发布:通过mac地址监控手机 编辑:程序博客网 时间:2024/06/03 13:08
// 请编写一个C函数,该函数将一个字符串逆序
#include <stdio.h>
#include<string.h>
int main()
{
char a[30];
int n;
printf("please input:");
scanf("%s",a);
n=strlen(a);
printf("Result:");
while(n>0)
{
n--;
printf("%c",a[n]);
}
printf("\n");
return 0;
}
#include <stdio.h>
#include<string.h>
int main()
{
char a[30];
int n;
printf("please input:");
scanf("%s",a);
n=strlen(a);
printf("Result:");
while(n>0)
{
n--;
printf("%c",a[n]);
}
printf("\n");
return 0;
}
0 0
- 1112
- 1112
- 1112
- 1112
- 1112
- 1112
- 1112
- 1112
- 1112
- poj 1112
- 1112 水题
- poj 1112
- LightOj 1112
- primer 1112
- 1112 KGold
- poj 1112
- nyoj 1112
- lightoj 1112
- VMware9 绿色破解版 下载地址
- Replace Pioneer
- CentOS/RHEL:检测各种服务(service)的启动状态
- 配置jbpm环境时,出现org.hibernate.MappingNotFoundException: resource: jbpm.repository.hbm.xml not found
- struct大小的问题
- 1112
- docker学习笔记之镜像探析
- 利用MySQL数据库如何解决大数据量存储问题?
- NDK开发学习笔记—JNI入门
- OpenCV遍历彩色图像、灰度图像的像素值方法
- leetcode_112. Path Sum 二叉树路径求和,判断是否存在路径和为某个值的路径,深度遍历,递归的return
- 网络代理
- Python函数
- 第32周-鸟哥的Linux私房菜基础篇第三版-第十章、vim 程序编辑器