current
C23 is ISO/IEC 9899:2024 Everything here comes from the current standard status page Features with partial compiler support are marked as such
Removed
Old style function declarations without prototypes
Non two’s complement signed integer representations
Calling realloc with a zero size
static_assert as a macro from <assert.h> , it is now a keyword
Deprecated
_Noreturn in favour of [[noreturn]]
asctime and ctime
Old feature test macros such as __STDC_IEC_559__
New language features
Binary constants with 0b
Digit separators with '
Empty initializer = {}
Standard attributes: [[nodiscard]] , [[deprecated]] , [[fallthrough]] , [[maybe_unused]]
true , false , bool , and nullptr as keywords
Single argument static_assert
New library pieces
<stdbit.h> and <stdckdint.h>
memset_explicit
POSIX helpers such as strdup and strndup
UTF-8 support including char8_t as a type alias
Compiler reality
Some features have partial support
Check the compiler table before relying on a new header
A flag name may still be c2x even when the standard is called C23
End
Old C advice often encodes a workaround for a problem the standard already fixed Read the version before copying the code
Posted