+ 13

Why stdio.h in C programming

25th Sep 2018, 1:36 AM
Adhith T
Adhith T - avatar
32 Answers
+ 27
It contains the prototypes for the functions in the standard input/output library in C. So if you want to do basic input/output in your code you need to import this header file.
25th Sep 2018, 2:01 AM
Sonic
Sonic - avatar
+ 19
Itā€™s the general functions library for c. It includes the basic functions like printf. Without calling on stdio.h we wont be able to use these functions. There are many other library header files like conio.h, math.h in C.
25th Sep 2018, 11:41 PM
āš”ļøPikachuāš”ļø
āš”ļøPikachuāš”ļø - avatar
+ 13
"stdio.h" is a HeaderFile in 'C' and 'C++' which store definition of predefined functions such as getch(), gets() etc.. it included in the top of 'C' & 'C++' program. In "stdio.h" "std"=standard "io"=input output ".h"= is the extension for HeaderFile in 'C' and 'C++' inside 'stdio.h' definition of function is written which are related to "standard input and output" such as gets() ,getch(), getchar(),puts(),putch()putchar() etc....
25th Sep 2018, 6:42 AM
Krishna Singh
Krishna Singh - avatar
+ 10
Adhith T TheĀ CĀ and C++ standard library containsĀ filesĀ containing the standard functions that yourĀ programĀ may use. TheseĀ filesĀ are known asĀ header files.Header filesĀ provide function prototypes, definition for library functions. Data types and constants used with the library functions are also used in them.
2nd Nov 2018, 2:08 AM
Vishnu
Vishnu - avatar
+ 7
TheĀ stdio.hĀ is a header file it defines three variable types, several macros, and various functions for performing input and output.šŸ˜šŸ˜
26th Sep 2018, 11:38 PM
Vishnu
Vishnu - avatar
+ 7
What are other header files????
2nd Nov 2018, 12:39 AM
Adhith T
Adhith T - avatar
+ 4
<stdio> using in C Programming because that contain input and output file like printf,scanf,getchar(),gets(),puts(),putchar() etc. <stdio> header file contain in program then compiler created error. Therefore , we use <stdio> file in c programming.
27th Sep 2018, 3:00 AM
sahil swami
sahil swami - avatar
+ 3
Example
2nd Nov 2018, 2:06 AM
Adhith T
Adhith T - avatar
+ 2
stdio.h is an in built header file
25th Sep 2018, 2:25 AM
Adhith T
Adhith T - avatar
+ 2
So when we are call the function printf and scanf in the c programming then we are use the header file stdio.h . stdio.h is the header file for standard input and output. ... All the input output file are contained within this package. Without this out cannot use scanf or printf functions https://en.wikibooks.org/wiki/C_Programming/stdio.h
25th Sep 2018, 10:40 AM
deepak sharma
deepak sharma - avatar
+ 2
The function used for generating output is defined in stdio.h .
26th Sep 2018, 4:52 PM
Sukanya
Sukanya - avatar
+ 2
what if it is not there
27th Sep 2018, 12:36 AM
Adhith T
Adhith T - avatar
+ 2
stdio.h standard input and output it is used in order to use input and output predefined functions such as printf()-to print statements scanf()- to get input from user. It is mainly used in "c" In c++ we use iostream.h-input output stream it contains input and output such as cin>> and cout<<
27th Sep 2018, 1:08 AM
Sriramasubramaniam. N
Sriramasubramaniam. N - avatar
+ 2
To explain in a simpler manner, it is a header file used to perform any input output operation in your program. That means, if you want to print or scan any user data you need to include that header file in your code.
7th Oct 2018, 3:32 PM
Sridevi
+ 2
Because it is the header file . It means that because of it we can give the input and receive the output for our program. Write a program and then remove the header file and try to execute , you will see its importance .
8th Nov 2018, 10:56 AM
Sukanya
Sukanya - avatar
+ 2
It is a preprocessor directive that makes the compiler to include a header file for the standard input and output
27th Sep 2019, 7:58 PM
Samuel Mararo
+ 2
It is a hearder file std i o - standard input output
2nd Apr 2020, 9:16 PM
Hafsath Faseeha
Hafsath Faseeha - avatar
+ 2
Stdio.h is a library in c which has things stored in it
11th Sep 2020, 1:55 PM
Bhavika Lalwani
+ 2
For input and output
20th Oct 2020, 11:44 AM
Ousmane Leye
Ousmane Leye - avatar
+ 2
Ousmane Leye yes as the name implies.
20th Oct 2020, 11:47 AM
Sonic
Sonic - avatar