If i have a :
typedef struct str32{
uint32_t word1;
uint32_t word2;
} word_array;
word_array *my_array;
what would be the data type of this:
myarray->word1
How come it is a uint32_t type and is giving the value of word1? isn't
it still a pointer which is not dereferenced yet?
I was thinking I should have to do *(my_array->word1) to get to
uint32_t type, what goes?
typedef struct str32{
uint32_t word1;
uint32_t word2;
} word_array;
word_array *my_array;
what would be the data type of this:
myarray->word1
How come it is a uint32_t type and is giving the value of word1? isn't
it still a pointer which is not dereferenced yet?
I was thinking I should have to do *(my_array->word1) to get to
uint32_t type, what goes?
Comment