Post by firstname.lastname@example.org
I wanted to start Learning C From A Nice Book Which I Never Did,
So I was wondering if I Should Start From K&R Second Edition?
Is that equivalent to C89 Or there Are Any Changes? (Yes I Mean C89)
I recommend both K&R second edition and the original K&R.
The orginal K&R might be better as an introductory text
as long as you know that there are important differences
relative to the second edition (and so to C89). But the
second edition of K&R is better in terms of being in step
My understanding is that K&R second edition is very nearly
the same as C89 (also known as ANSI C), except that there
are some minor differences because there were some late
changes to C89 after K&R second edition was finished. I
haven't compared them myself so I can't say for sure that
they are different, but you might want to keep that in mind
while reading K&R.
C89, aka ANSI C, is essentially identical to C90, the
first ISO C standard. The documents are different in
that they use different section numbering, but other
than that I believe there are no significant differences