|
of course can't do this
typedef struct {
char name[50] = "not_set_yet";
int ssn = 111223333;
} employee;
is: employee emp1 = {"not_set_yet", 111223333}; the only way?
what is the most elegant way to have default values for all instances of that type of struct?
|