//===========================================
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
int main()
{
time_t ts;
srand((unsigned int)time(&ts));
char strx[10][10] = { "习", "毛“, "孙", "李", "周", "胡", "王", "章", "夏", "宋" };
char strm[10][10] = { "近平, "泽东", "克强", "空", "可", "平", "来", "名", "并", "新" };
int num1 = rand() % 10;
int num2 = rand() % 10;
printf("%s%s\n", strx[num1], strm[num2]);
return 0;
}
//===================================== |
|