Why do we use stdio.h | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why do we use stdio.h

28th Apr 2021, 4:48 PM
lipika parui
lipika parui - avatar
2 Answers
+ 1
If you want to print something, you use printf() function. But for using a function, the function should be declared and defined. So here comes the stdio.h where printf() function is declared and defined. You just use it in the program. This is just an example of why we need studio.h. There are many other things there. Basically stdio means standard input output and .h is a extension (header file). So it is related to input output things.
28th Apr 2021, 5:11 PM
Kashyap Kumar
Kashyap Kumar - avatar
0
Thank you
2nd May 2021, 4:25 AM
lipika parui
lipika parui - avatar