I need help with an initializer issue -- the following code works well:
extern int i1, i2;
typedef struct
{
char ch;
int * * array;
} qq_str;
static int * a[] =
{
&i1,
&i2
};
qq_str qq =
{
'c',
a
};
However, I would like to remove the need to construct the array 'a' and embed the initialization directly into the struct -- the following does not compile but illustrates what I'm attempting to accomplish:
qq_str qq =
{
'c',
&{
&i1,
&i2
}
};
Any ideas out there?