
#include <stdio.h>
#include <stdlib.h>
#include <time.h> int main()
{
char str[];
char pstr[];
int i;
int x;
int y;
srand((unsigned) time()); for (i = ; i < ; i++)
{
str[i] = (char)(i + );
} for (y = ; y < ; y++)
{
for (i = ; i < ; i++)
{
x = rand() % ;
pstr[i] = str[x];
} pstr[] = '\0'; //防止越界出现“烫”。
printf("%s\n", pstr);
}
return ;
}