Re:Type-erased generic functions for C: A modest non-proposal
by plorkyeran on Thursday October 03, 2024 @03:47PM
(#41734232)
`int array[100] = {0};` results in an array with 100 zeroes in both C and C++. In C if there are too few values the remaining ones are initialized following the same rules as for static variables, and in C++ they're initialized using value initialization. For all types supported by C these have the same result.
[ Parent
| on HN ]
There are no comments on this comment yet.