#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-10-23 04:06:29
#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; }