Suppose I have the following structure and array.
Can I assume that nameList[i].firstName and nameList[i].lastName always have a size of 20?Code:typedef struct name { char firstName[20]; char lastName[20]; } name name nameList[100];
Is strcpy the only way to store data into this name struct array?
(e.g. strcpy(nameList[i].firstName, "John")