Difference between ANSI C and C Programming Language?


I'm a beginner, so please let me know the difference between ANSI C and the C programming Language.

Best Solution

ANSI is a US standards body that released the first standard specification for C in 1989. The standard was adopted by ISO in 1990 and ISO are now the standards body for the language - not ANSI.

ANSI C merely refers to a particular standard for the C Programming Language - i.e. there is no difference, they refer to the same thing. However there have been several standards and de-facto standards for C:

  • K&R C - as defined by the first edition of The C Programming Language by Brian Kernhigan and Dennis Ritchie, published in 1978.
  • ANSI C - 1989 (also known as C89). Described (but no longer defined) by K&R 2nd Ed.
  • ISO C 1990 (C90 - more-or-less identical to C89, but in an ISO document).
  • ISO C 1999 (C99)
  • ISO C 2011 (C11)