#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; }
时间: 2024-12-28 14:42:19
#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; }