One can use designated initializers as shown below (for \"billy\") without issue, but when the same initialization approach is used on dynamic memory things wil
designated initializers
You have to write:
*molly_ptr = (struct student){ .name = "molly", .age = 25 };