3 ms·
"standard" C implies default to me, so the post is probably referring to C89 or C99, which are significantly more used than C17.
by Kamq 3y ago
"standard" C implies default to me, so the post is probably referring to C89 or C99, which are significantly more used than C17.
- LegionMammal978 3y agoThis particular rule is essentially unchanged from C89 (3.5.7 for initialization, 3.3.16.1 for simple assignment) and from C99 (6.7.8 for initialization, 6.5.16.1 for simple assignment). Generally, most existing rules don't change much at all across the C Standard versions.
- ynik 3y ago"Standard C" is the C that was standardized. This is not what you get from your compiler by default! With gcc, you have to use `gcc -std=c99 -pedantic-errors`, otherwise it will accept programs which are invalid according to the standard.