Why stdio.h in C programming | Sololearn: Learn to code for FREE!

+13

Why stdio.h in C programming

9/25/2018 1:36:11 AM

Adhith T

31 Answers

New Answer

+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.

+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.

+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....

+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.

+7

The stdio.h is a header file it defines three variable types, several macros, and various functions for performing input and output.😁😁

+6

What are other header files????

+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.

+3

Example

+2

stdio.h is an in built header file

+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

+2

The function used for generating output is defined in stdio.h .

+2

what if it is not there

+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<<

+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.

+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 .

+2

It is a preprocessor directive that makes the compiler to include a header file for the standard input and output

+2

It is a hearder file std i o - standard input output

+2

Stdio.h is a library in c which has things stored in it

+2

For input and output

+2

Ousmane Leye yes as the name implies.