#include <stdio.h>
#include <string.h>
int main()
{
void sort(char *p,int n);
char a[50][50]={
0};
int i,n;
char *p;
printf("请输入字符串数(字符数以及串数不超过50)>:"
用二维数组保存用户输入的字符串,当用户终止输入时,将所有输入中最长的字符串及其长度输出。
最新推荐文章于 2023-06-06 00:10:01 发布