C11 (C standard revision)

C11 (formerly C1X) is an informal name for ISO/IEC 9899:2011,[1] a past standard for the C programming language. It replaced C99 (standard ISO/IEC 9899:1999) and has been superseded by C17 (standard ISO/IEC 9899:2018). C11 mainly standardizes features already supported by common contemporary compilers, and includes a detailed memory model to better support multiple threads of execution. Due to delayed availability of conforming C99 implementations, C11 makes certain features optional, to make it easier to comply with the core language standard.[2][3]

The final draft, N1570,[4] was published in April 2011. The new standard passed its final draft review on October 10, 2011 and was officially ratified by ISO and published as ISO/IEC 9899:2011 on December 8, 2011, with no comments requiring resolution by participating national bodies.

A standard macro __STDC_VERSION__ is defined with value 201112L to indicate that C11 support is available.[5]

  1. ^ "ISO/IEC 9899:2011 - Information technology -- Programming languages -- C". www.iso.org.
  2. ^ Cite error: The named reference N1250 was invoked but never defined (see the help page).
  3. ^ "Subsetting the C Standard". www.open-std.org.
  4. ^ Cite error: The named reference N1570 was invoked but never defined (see the help page).
  5. ^ "Defect report #411". ISO/IEC JTC1/SC22/WG14 - C. February 2012. Retrieved 2012-05-04.

From Wikipedia, the free encyclopedia · View on Wikipedia

Developed by Tubidy