Initialization:
counter_t c = {10, 30, 47};
Assignment:
c = (counter_t){10, 30, 48};
The latter is called a “compound literal”.
Initialization:
counter_t c = {10, 30, 47};
Assignment:
c = (counter_t){10, 30, 48};
The latter is called a “compound literal”.