#include <stdio.h> #include <stdlib.h> int main(int argc,char *argv[]) { int num; printf("要输入的单词个数:"); scanf("%d",&num); printf("请输入%d个单词:",num); char p[num][20]; char ch; int i = 0; int j = 0; ch = getchar(); while((ch=getchar())!=' ') { if(ch==' ') { p[j][i]='