Suppose I have a C struct defined as follows:
typedef struct
{
double array1[2];
} struct0_T;
How is the memory laid out? Is struct going to hold just a pointer or the value of the two doubles? Before I thought the struct holds a pointer, but today I found out (to my surprise) that the values are stored there. Does it vary between different compilers?