博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
C++第五章课后习题16-字符串按逆序输出
阅读量:741 次
发布时间:2019-03-22

本文共 155 字,大约阅读时间需要 1 分钟。

输入一个字符串,把其中的字符串按逆序输出

#include
#include
using namespace std;char *str_reverse(char *str){
int n=strlen(str)/2; char tmp=0; for(int i=0;i

在这里插入图片描述

转载地址:http://mnxwk.baihongyu.com/

你可能感兴趣的文章