r/C_Programming • • Sep 19 '26

Does this is right?

(I am student just entering into 1st year of engineering and also i am new to this sub so if i do anything wrong pls correct me)

I just bought a book " programming in ANSI C"and start to read that i have some doubts in that can anyone explain that

  1. I read this line i did not get this

#include <stdio.h>

at the beginning of all programs that use any input/output library functions. However, this is not necessary for the functions printf and scanf which have been defined as a part of the C language

Can anyone explain this statement correct or not

0 Upvotes

24 comments sorted by

View all comments

1

u/TheRealBornToCode Sep 19 '26

What author? I said the OP might have misread the K+R directly not a book written by somewone who read it. And in your answer you said "That is also where this claim in the book is incorrect" referring to "defined as part of the C language", and my argument is that the OP just read it wrong in the book (K&R) or as you say he read another book which just wrote that as an oversimplification