What are features from the actual C Standard, which originally weren´t part of C, but were invented in/for C++ and because of its benefits, were later adopted to C?
One prominent example is the single-line comment //
, which originally came from C++ and later was adopted by C.
Do you know more features of the actual C Standard, which explicitly or implicitly came from the development of C++?
Info: Of course, I know that C++ is derived from C but i was just thinking about which features was adopted from the development of its derivative, C++.