二级指针的操作
#include <stdio.h> #include <stdlib.h> int main() { char (*pStr)[9] = NULL; char arTest[2][9] = {"00001", "00002"}; pStr = arTest; printf("%s\n", *pStr); pStr++; printf("%s\n", *pStr); return 0; }
#include <stdio.h> #include <stdlib.h> int main() { char (*pStr)[9] = NULL; char arTest[2][9] = {"00001", "00002"}; pStr = arTest; printf("%s\n", *pStr); pStr++; printf("%s\n", *pStr); return 0; }