Are there any differences between ANSI C and ISO C?

前端 未结 2 788
耶瑟儿~
耶瑟儿~ 2020-12-31 08:52

I understand that there is both an ANSI standard and an ISO standard for C. Are there any differences between these two standards? If so, what are they? And if there is not

2条回答
  •  执笔经年
    2020-12-31 09:41

    In 1990, the ANSI C standard (with a few minor modifications) was adopted by the International Organization for Standardization as ISO/IEC 9899:1990. This version is sometimes called C90. Therefore, the terms "C89" and "C90" refer to essentially the same language.

    Source, the situation is similar but reversed for C99. There is also a C FAQ entry on the matter.

    The reason that there are two standards is simple: ANSI is a north-american standards body while ISO is an international one.

提交回复
热议问题