I assign a string in my structs like this:
struct REC { char *name; char *number; }; records[records_size - 1].name = NAME; records[records_size - 1]