I am a little confused as to how I need to allocate memory for a dynamic array inside a struct. Here is the struct that I am using:

typedef struct command_t *commandPtr;

typedef struct command_t
{
char* name;
int argc;
char* argv[];
} commandT;

I declare an instance of the struct as:

commandPtr theCommand;
theCommand = (commandPtr)...