At the time of writing, there is a new C standard in the making, informally referred to as the C23 or C2X. The standard will probably be published in 2024, with a working draft now available. Currently, we can install gcc version 13 or higher to try out some of the C23 features. We need to include the -std=c2x flag in the compilation string when targeting the C23 standard.
35. The Upcoming C23 Standard
Get Modern C for Absolute Beginners: A Friendly Introduction to the C Programming Language now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.