What about <stdio.h> i really need it in my studies?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What about <stdio.h> i really need it in my studies??

20th Apr 2019, 3:59 PM
Hakim Arab
3 Answers
+ 18
stdio.h is standard input output header file used while programming a code in C language. This header file consists of various input and output stream. Like when you need to print something on the output screen then you write printf() function which is defined in the stdio.h header file. So you don't need to write a whole function again and again. Also while taking user input we use scanf() function which is also defined in stdio.h. You can refer the below link for more functions inside stdio.h https://www.tutorialspoint.com/c_standard_library/stdio_h.htm So you need to include this header file while writing any code in C.
20th Apr 2019, 4:56 PM
Nova
Nova - avatar
+ 2
It is for example used to output stuff on the screen and to take user input. So very likely: Yes.
20th Apr 2019, 4:37 PM
HonFu
HonFu - avatar
+ 1
It's a header file in C. "stdio" means standard input output. "h" means header. This file having the definition of all the input/output predefined functions. You cannot use printf, scanf, puts, gets, etc without inclusion of this file in your program. Before get into this file, try to complete the topics of functions, files, pointers in C.
20th Apr 2019, 5:14 PM
sbkrish
sbkrish - avatar