怎 么运行没有结果啊
程序代码:#include <stdio.h>
void fun(char *str1,char *str2)
{
int i;
while(*str1!='\0')
{
while(*str2!='\0')
{
if(*str1<*str2)
{
printf("%c",*str1);
str1++;
}
else
{
printf("%c",*str2);
str2++;
}
}
}
}
int main(int argc, const char *argv[])
{
char ptr[]="acem";
char ptr1[]="bdfn";
fun(ptr,ptr1);
return 0;
}







