Here's some more code that is valid C99/C11 but invalid C++:
It's a (sometimes) very useful syntax that unfortunately does not exist in C++. C took line comments and a handful of other little features from C++. Why can't C++ take this little C feature that has existed in C for 16 years now??Code:struct foo { int x; } y = { .x = 9 };