try strcpy instead of assigning the value with an =:
strcpy(persons[0].name, array[0])
4
solved How do I save a string to a struct array member? [closed]
try strcpy instead of assigning the value with an =:
strcpy(persons[0].name, array[0])
4
solved How do I save a string to a struct array member? [closed]