我需要帮助我有一个结构
typedef struct {
unsigned char data0;
unsigned char data1;
// like this 8 bytes of data in my structure
} MyStruct;
typedef struct {
Mystruct my_st[8];
} Info1;
typedef struct {
unsigned char My_Array[8][7];
} Info2;
//now i want to pass the array of 8 structures in Info1 and 2D array of Info2 .
My_Function( &Info1->my_st[8], &Info2->My_Array[8][7]);
这是正确的方法,否则请告诉我。