Hi, everyone. This is my first mail to the board. As the subject says, I'm a beginner in C programming. I got a copy of Kernighan-Ritchie's book and I'm starting to learn from it. I have no previous experience in C or Fortran or Pascal. That means you may have to bear with many silly questions from me very often.
I'll go straight to the point. While trying one of the examples on the book (the one about converting temperatures), I decided to try this out: removing the #include <stdio.h> line while keeping the rest of the program intact. I thought that if I did that the program would not compile because the compiler would not find the library stdio.h where the printf function is defined (at least, that's what I understood). But the program got compiled anyway. That surprised me. Does any of you know why this happened?
By the way, if you know of any book/manual/tutorial that might be useful to accompany Kernighan-Ritchie's book in order to learn aspects of C or general programming which are not covered there, I'd be glad to hear about them. I'd also be thankful, of course.
Well, thanks in advance to you all...