U
uday
Hi All,
I need one clarification regarding memory allocation for
structure. The details are as given below :
let us consider one structure
struct {
uit32 len0;
uint8 *pointer0;
uit32 len1;
uint8 *pointer1;
);
When i want to allocate memory using malloc() for this structure is
there any way i can allocate memory for only for len0 and pointer0 or
len1 and pointer1 .
Regards,
udaykumar
I need one clarification regarding memory allocation for
structure. The details are as given below :
let us consider one structure
struct {
uit32 len0;
uint8 *pointer0;
uit32 len1;
uint8 *pointer1;
);
When i want to allocate memory using malloc() for this structure is
there any way i can allocate memory for only for len0 and pointer0 or
len1 and pointer1 .
Regards,
udaykumar