The problem with K&R is that there never was a third edition that covered C99, which compared to C89 is almost a new language.
K&R is an interesting historical artifact about the basic design decisions of the C language and definitely recommended reading material, but you're not doing yourself a favour using it as reference or for learning the language. For that it is vastly outdated, C ist a much more enjoyable and powerful language since C99.
Comments
Exactly, I was looking into refreshing my C knowledge recently and K&R is still heavily recommended.
The problem with K&R is that there never was a third edition that covered C99, which compared to C89 is almost a new language.
K&R is an interesting historical artifact about the basic design decisions of the C language and definitely recommended reading material, but you're not doing yourself a favour using it as reference or for learning the language. For that it is vastly outdated, C ist a much more enjoyable and powerful language since C99.
Go with such a book instead,
https://www.manning.com/books/modern-c
How does this compare to https://nostarch.com/effective-c-2nd-edition ?
I guess it is also a good one, both authors are still active on WG14, if I am not mistaken.