If I had this:
How would I access the members of userInfos? I've tried many combinations with . and -> but nothing seems to work. Plenty of errors and crashes.Code:typedef struct { char *name; int age; } PersonalInfo; //... PersonalInfo *userInfos; userInfos = (PersonalInfo *) calloc(1, sizeof(PersonalInfo));




Reply With Quote