typedef struct { int hour; int min; int sec; } counter_t;
And in the code, I\'d like to initialize instances of this struct without explici
Initialization:
counter_t c = {10, 30, 47};
Assignment:
c = (counter_t){10, 30, 48};
The latter is called a "compound literal".