3 ms·
Ah yes, you're quite right, this is legal C99 and C11, but not legal C90. I'm more of a C++ programmer, and the C code I deal with tends to be ancient, so I ha
by microtherion 7y ago
Ah yes, you're quite right, this is legal C99 and C11, but not legal C90.
I'm more of a C++ programmer, and the C code I deal with tends to be ancient, so I had forgotten that this became legal at some point.
- ncmncm 7y agoC people don't like to think about how much C took from C++. const, "//" comments, function prototypes, more recently declarations anywhere in the block. "I can provide you anything save relevance."