Let\'s say you have-
struct Person { char *name; int age; int height; int weight; };
If you do-
struct Pe
It doesn't. You have to do that too.
struct Person *who = malloc(sizeof(struct Person)); who->name = malloc(sizeof(char) * 16); /* for a 15+1 character array */