Say we have,
typedef struct{
char* ename;
char** pname;
}Ext;
Ext ext[5];
What I am trying to do is to populate the data as following:
ext[0].ename="XXXX";
ext[0].pname={"A", "B", "C"}; // and so on for the rest of the array
-- I am pretty sure this is not the right way of doing this because I am getting errors. Please let me know the correct way to do this. Thanks.