KnR is the best one
KnR is the best one
I dunno. Learning from K&R is kind of like learning how to tie knots by reading a Boy Scout manual from 1950. It contains the correct information, but the style is antiquated and it doesn't account for all the new developments since the time of publication.
I'm not one to put down the K&R book, though. It's definitely something you should own, but get a few other books too. It's been so long since I was in the learning phase that I have no idea what's good any more.
is this a good book "Programming in C: a complete introduction to the C programming language" Stephen G. Kochan 3rd edition
I'm not sure of that book, but I can really recommend "Beginning C" by Ivor Horton.
Has many practical examples of how to approach a new programming problem, as well as all the many step by step instructions as it leads a beginner toward a good basic (more than basic, really), understanding of the C language.
The K&R "The C Programming Language" is an excellent book, but you REALLY have to be a geek to tackle it as a beginning programmer. If you don't know PI to 12 decimal places just because it's interesting, this is not the book for you, as a student starting out in programming.
Horton's the way to go, imo.