70,022
社区成员




#include <iostream>
#include <cstring>
using namespace std;
int main()
{
int i,
mat[3][2][4]={1, 2, 3, 4, 5, 6, 7, 8, 9, 0};
for(i = 0; i < 24; i++) //遍历整个数组
printf("%x, ", *(**mat+i));
return 0;
}
printf("%x,",((unsigned char *)mat)[i]);
#include<stdio.h>
main()
{
unsigned char i,mat[3][2][4]={1,2,3,4,5,6,7,8,9,0};
for(i=0;i <12;i++)
printf("%x,",((char *)mat)[i]);
}