#include void fun(char *w,int n){char t,*s1,*s2;s1=w;s2=w n-1;whil#include void fun(char *w,int n){char t,*s1,*s2;s1=w;s2=w n-1;while(s1

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/25 04:08:39
#includevoidfun(char*w,intn){chart,*s1,*s2;s1=w;s2=wn-1;whil#includevoidfun(char*w,intn){chart,*s1,*

#include void fun(char *w,int n){char t,*s1,*s2;s1=w;s2=w n-1;whil#include void fun(char *w,int n){char t,*s1,*s2;s1=w;s2=w n-1;while(s1
#include void fun(char *w,int n){char t,*s1,*s2;s1=w;s2=w n-1;whil
#include
void fun(char *w,int n)
{char t,*s1,*s2;
s1=w;
s2=w n-1;
while(s1

#include void fun(char *w,int n){char t,*s1,*s2;s1=w;s2=w n-1;whil#include void fun(char *w,int n){char t,*s1,*s2;s1=w;s2=w n-1;while(s1
程序有问题,但算法如下,它是把字符串p进行反串输出7654321
void fun(char *w,int n)
{
char t,*s1,*s2;
s1=w;s2=w+n-1; //s1为左边指针,s2为右边指针
while(s1=s2为止
}