C Standards (C89/C90 to C23)
The ISO versions of C and what each added.
Easy
- C89/C90 — the first standard (ANSI C).
- C99 —
//comments,stdint.h,bool,inline, variable-length arrays, declarations anywhere. - C11 — threads, atomics,
_Generic,_Static_assert, anonymous structs/unions. - C17 — bug-fix release.
- C23 —
true/false/bool/nullptrkeywords,typeof,constexprobjects, binary literals0b1010, digit separators1'000'000,#embed. Select one withgcc -std=c17and say which standard your project uses.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.