大家好,又见面了,我是全栈君。
#include <stdio.h> int main(void) { int i, j; int a[] = {11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35}; typedef int (*Type)[5]; Type b = (Type)a; for(i = 0; i < 5; ++i) { for(j = 0; j < 5; ++j) printf(“%d “, b[i][j]); printf( “\n” ); }
return 0;
}
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/115758.html原文链接:https://javaforall.cn