Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is difference between ANSI C and C Programming Language? [closed]

Tags:

c

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

like image 706
user3902444 Avatar asked Dec 09 '22 06:12

user3902444


1 Answers

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)
like image 173
Clifford Avatar answered Dec 28 '22 10:12

Clifford