#include <stdio.h> void main() { char *p[]={"zzz","qq","aaa"}; int i; for(i=0;i<3;++i) printf("%s\n",p[i]); p[1]=NULL; for(i=0;i<3;++i) printf("%s\n",p[i]); } 结果。 zzz qq aaa zzz (null) aaa Press any key to continue