New C features in GCC 13 (Red Hat Developer)
The Red Hat Developer site has anoverview of some of the new C-language features supported by theGCC 13 release.
The nullptr constant first appeared in C++11, described inproposal N2431 from 2007. Its purpose was to alleviate the problemswith the definition of NULL, which can be defined in avariety of ways: (void *)0 (a pointer constant),0 (an integer), and so on. This posed problems foroverload resolution, generic programming, etc. While C doesn't havefunction overloading, the protean definition of NULL stillcauses headaches.