指针数组
摘要:
#include <stdio.h>int main(void){ const char *pat[4] = {"are", "you", "ok", NULL}; const char **fp = pat; const char *p; while (*fp) { p = *fp++; printf ("%s\n", p); } return 0;} 阅读全文
posted @ 2012-03-23 16:38 ilxf 阅读(97) 评论(0) 推荐(0)
浙公网安备 33010602011771号