3 ms·
A small improvement in C23 - but probably my favourite - is that it finally allows writing: struct bla_t bla = {}; ...instead of struct bla_t bla = {0}
by flohofwoe 3y ago
A small improvement in C23 - but probably my favourite - is that it finally allows writing:
struct bla_t bla = {};
...instead of
struct bla_t bla = {0};
This was one of those pointless differences between C and C++ which caused a lot of grief when writing code in the common C/C++ subset.
PS: also func() now actually is the same as func(void), and unnamed parameters are allowed.