摘要: char (*a)[N];//指向数组的指针 a = (char (*)[N])malloc(sizeof(char) * N * m); printf("%d\n", sizeof(a));//4,指针 printf("%d\n", sizeof(a[0]));//N,一维数组 free(a); 阅读全文
posted @ 2018-10-20 12:23 aspirs 阅读(206) 评论(0) 推荐(0) 编辑