Is there any way to copy a value from one array to a struct variable? Here is an example:
I have a struct and the struct has these variables;
struct ex