Richard McBeef said:
Yes, I have googled this but have found many
different sites.
When you people cite the standard which
website specifically are you referencing?
The C90 standard is very difficult to find these days. I bought a
(rather low-quality) PDF copy for $18 from ANSI some years ago,
but they're no longer selling it. If you can find a used copy of
Schildt's book "The Annotated ANSI C Standard", it contains the C90
standard on the left-hand pages. The right-hand pages have Schildt's
very bad annotations; see <
http://www.lysator.liu.se/c/schildt.html>.
Apparently you can still get PDF copies of the C90 standard and C95
amendment at
<
http://infostore.saiglobal.com/store/Details.aspx?DocN=stds000005269>
($181.58) and
<
http://infostore.saiglobal.com/store/Details.aspx?DocN=isoc000767513>
($84.50); I wouldn't pay that much myself.
<
http://flash-gordon.me.uk/ansi.c.txt> is a plain-text copy of an
unofficial pre-C90 draft. It probably differs in some minor ways
from the C90 standard itself. Also, being plain text, it loses
some formatting information and special symbols.
<
http://cbfalconer.home.att.net/download/n869_txt.bz2> is a
bzip2-compressed plain-text copy of a pre-C99 draft. It suffers
from the same drawbacks as "ansi.c.txt" above. I don't recommend
it unless you really need plain text rather than PDF.
The C99 standard is available from the ANSI store or from your
national standard body in PDF format. I paid $18 for my copy,
but I think it's gone up a bit. There have been three Technical
Corrigenda since then, available at no change from ANSI.
<
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf> is
a post-C99 draft, consisting of the C99 standard with the three
Technical Corrigenda merged into it and marked with change bars.
It's not *quite* official, but it's close enough for most purposes.
This is the one I use most of the time.
There are also some early drafts of the C201X standard. The latest
is <
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1425.pdf>.
Do not expect any implementation to conform to these drafts for
a while.
The C standard committee's web site is
<
http://www.open-std.org/jtc1/sc22/wg14/>.