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