Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I read C99 official language standard manual/reference/specification online? [duplicate]

Possible Duplicate:
Where do I find the current C or C++ standard documents?

Where can I read C99 official language standard manual/reference/specification online?

like image 769
eonil Avatar asked Sep 08 '10 12:09

eonil


People also ask

Where can I find C standard?

The C99 and C++03 standards are available in book form from Wiley and the BSI (British Standards Institute): C++03 Standard on Amazon. C99 Standard on Amazon.

What is the difference between C99 and C11?

C11 looked to address the issues of C99 and to more closely match the C++ standard, C++11. It changes some C99 features required to optional. Some of the features include variable length arrays and complex numbers. This makes it easier for compiler vendors to meet C11's required function set.

What is new in C99?

The New C. C99 is the C standard ratified by the ANSI and ISO standardizaion groups. It presents a significant amount of changes to the C language. These changes are the result of sibling competition between C and C++. The initial version of C is named after Kernighan and Ritchie.

What is the current C standard?

C17. As of October 2018, "C17" is the current standard for the C programming language. C17 addresses defects in C11 without introducing new language features.


2 Answers

The standard itself is here(a) (with TC1, 2 and 3 included), the rationale document is here.


(a) Actually, it's the final draft but is still useful because:

  • the changes from final draft to published standard are usually minimal to none; and
  • it's free unlike the actual standards :-)
like image 170
2 revs Avatar answered Sep 22 '22 16:09

2 revs


The official standard should not be available online — ISO and its national standards bodies would be unhappy about that. You can obtain an official electronic copy from the ANSI store (http://webstore.ansi.org/) for $18 $30 (or thereabouts — it was $18 when I obtained the C99 standard, but that was quite a while ago now; it was $30 for the C11 standard). Or you can go to the web site linked in other answers (and via Wikipedia) — namely http://www.open-std.org/jtc1/sc22/wg14/ - and obtain almost official copies of the standards documents.

like image 38
Jonathan Leffler Avatar answered Sep 21 '22 16:09

Jonathan Leffler