i have this structure :
typedef struct nodetag{
char *employeeNumber;
name mName;
birthday bday;
char *address;
char *rank;
int salary;
hireDate *hdate;
}*node;
typedef struct nodetag1{
char *month;
char *date;
char *year;
}birthday;
but I don't know how to access the month in bday. i tried using node1->bday->month but had an error. I malloced using node1 = (node)malloc(sizeof(struct nodetag));
please help, anyone?