[Solved] Array of structs or pointer indexing ... Options / Best practice?

and each struct will contain a name and a pointer to a variable.

Even simpler, of course, is for each instance of the struct to contain a name and a value, rather than a pointer to the value.