麻烦帮忙看下这个倒置程序
#include <stdio.h>#include<string.h>void ConverseStrt( char *Str,int start ,int end) {/* 将字符串倒置,Str为字符串,strat和end为字符数 组的首尾下标*/ char temp; if (end-start<1) return; /*Str的串长<=1*/ else { temp=Str[start]; Str[start] = Str[end]; Str[end]=temp; //Str[start] <-> Str[end] /*交换字符*/ ConverseStrt (Str , start+1 , end-1); }/*Str的串长>1,字符串的首尾元素调换,再将去掉 首尾元素的字符串调换*/ }void main (){ int i; char *p; p="abcmn12343444444445"; ConverseStrt(p,1,15); for(i=1;i<=15;i++) printf("%d",p[i]);}