字符串反转
int ProcessString(char * strInput,char * strOutput)
{
int str,p=0;
str=strlen(strInput);
for (int i=str-1;i>=0;i--)
{
strOutput[p++]=strInput[i];
}
return 0;
}
字符串反转
int ProcessString(char * strInput,char * strOutput)
{
int str,p=0;
str=strlen(strInput);
for (int i=str-1;i>=0;i--)
{
strOutput[p++]=strInput[i];
}
return 0;
}