麻烦完善下面程序,使其能按字典顺序对多个字符串排序。谢谢
#include<stdio.h>#include<string.h>intmain(){char*t;inti,j,n;char*s[]={"pascal","basi...
#include<stdio.h>
#include<string.h>
int main()
{
char *t;
int i,j,n;
char *s[]={"pascal","basic","fortran","turbo C"};
printf("Enter n:");
scanf("%d",&n);
return 0;
} 展开
#include<string.h>
int main()
{
char *t;
int i,j,n;
char *s[]={"pascal","basic","fortran","turbo C"};
printf("Enter n:");
scanf("%d",&n);
return 0;
} 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询