UrbanPro

Learn C Language from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Why we use 'include stdio.h'?

Asked by Last Modified  

Follow 26
Answer

Please enter your answer

The header file which is added to the program that one has written is basically what 'include stdio.h.' means. Stdio.h is known to contain the input and output operations like "printf" or "scanf" etc. "h" extension means the header file. If you request to use a header file in the program by actually...
read more

The header file which is added to the program that one has written is basically what 'include stdio.h.' means. Stdio.h is known to contain the input and output operations like "printf" or "scanf" etc. "h" extension means the header file.

If you request to use a header file in the program by actually including it with the preprocessed C directive #include like you have seen the inclusion of stdio.h header file, which comes along with the compiler you are using.

If the header file is equal to that of copying the header file, it is advised not to do it because it would be inevitable to get an error and it's, of course, a bad idea to copy the content of the header file into its designated source files, as in if at all one has multiple source files in a written program.


In layman's terms, It's effortless .#include is what is known as a "preprocessor". As the name suggests, it is preprocessed before the code. These preprocessor statements are compiled before any other code in your script.
Hope this helps

read less
Comments

Expert In Computer Languages

stdio.h is the header file for standard input and output. This is useful for getting the input from the user(Keyboard) and output result text to the monitor(screen). With out this header file, one can not display the results to the users on the screen or cannot input the values through the keyb...
1 Comments

Computer Engineering / Diploma Tutor

STDIO.H is a file which contain declaration of many functions and Macros which required to get input from input devices and show output on output screen of C Program. It is not compulsory to include "stdio.h" as we can provide input to c program using any other program like DOS and can store output...
read more
STDIO.H is a file which contain declaration of many functions and Macros which required to get input from input devices and show output on output screen of C Program. It is not compulsory to include "stdio.h" as we can provide input to c program using any other program like DOS and can store output to any FILE. Which we can see later. read less
Comments

We use to 'include stdio.h' to include the header.
1 Comments

stdio.h is a header file which contains the declarations (not the definitions) of standard I/O functions like printf(), scanf(), etc.,. The header file just tells the compiler what types external functions and variables are, defines macros, types etc. Any functions and variables that get referenced in...
read more
stdio.h is a header file which contains the declarations (not the definitions) of standard I/O functions like printf(), scanf(), etc.,. The header file just tells the compiler what types external functions and variables are, defines macros, types etc. Any functions and variables that get referenced in your source file will be linked in during the linker phase. If you include stdio.h and use printf in your program, the compiler adds printf as an "unresolved" symbol in the object file, and then the linker will try to find a function called printf either in the object files you explicitly link, or in the libraries it is configured to search. read less
Comments

Can teach any computer subjects for classes BCA,BCS ,BE(computer) and MCA

Studio.h is a header file which contains function definitions for all input output functions like printf scanf gets puts fetch etc which are been called by the programmer in the program for accepting and displaying input and output.
Comments

Data Science, Machine Learning and Web Development Coach

"stdio" stands for standard input-output. Some of the most commonly used pre-written functions are getc(), putc(), gets(), puts(), scanf(), printf() and also their file IO counter parts such as fputs(), fgets(), fprintf(), fscanf(), etc., are packaged into stdio.h. This package also includes certain...
read more
"stdio" stands for standard input-output. Some of the most commonly used pre-written functions are getc(), putc(), gets(), puts(), scanf(), printf() and also their file IO counter parts such as fputs(), fgets(), fprintf(), fscanf(), etc., are packaged into stdio.h. This package also includes certain special functions such as fflush() and file IO related functions such as fopen(), feof(), fclose(), ftell(), fseek(), fwrite(), fread(), etc. Most of the C programs include one or more of the above functions to achieve a given task. Hence, it has to be included as a header file. read less
Comments

B.E (Computer Science & Engineering) 78%; MS (Computer Science) (USA) (GPA: 3.8/4.0)

stdio.h contains prototypes for standard input/output functions like scanf/printf. Without including this file, one will not be able to read input from keyboard or write output to screen.
Comments

Ph.D. in Bioinformatics

It is a header file or library for Standard Input and Output as it shows by name std(Standard)-i(input)-o(output). The function printf, Scanf, gets, puts etc will not work and will not be able to provide any input to program or get output from the program. Better way to understand any header file is...
read more
It is a header file or library for Standard Input and Output as it shows by name std(Standard)-i(input)-o(output). The function printf, Scanf, gets, puts etc will not work and will not be able to provide any input to program or get output from the program. Better way to understand any header file is to remove the header file and execute the program and then see what are the errors you are getting. read less
Comments

Computer Science Tutor

stdio.h is a header file in C, it is the file which contains C declaration and Macro definition to be shared between several files. stdio.h means standard input/output function which contains printf(), scanf() functions.
Comments

View 53 more Answers

Related Questions

What is the benefit of using enum to declare a constant?
ENUMS.. Can give numerical values for Sunday, Monday,... Easy to use in coding... Makes the program more readable/ understandable, than using 1,2,3.. Etc.
Sita
0 0
7
Can we pass arguments in the main function in C language?
Yes. it is possible to pass arguments into the main function.
Mukesh
0 0
7
Is it necessary to mention the header files in the C programming language?
yaa !!!!! it is necessary because we need the data present in evey header file...like example we can do mathematical calculations with the help of math header file.
Hari
what are type qualifiers in c language
The type qualifiers/modifiers in C language are used to alter the meaning of basic data types. These can be divided into 3 categories: 1. Size modifiers a. short (default) b. long 2. Sign modifiers a....
Mahesh
What is the fee for learning C Language?
In C lang course ,there is not only basics it also having whole package to complete the task and course.cost may be it's depends upon the institute n teaching level
Sk.

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Difference Between C Language and C Program
C Language: C Language is structured, high level and machine independent language. C Program: C Program is the collection of functions that are supported by C library.
S

Shashwat Kumar

0 0
0

Pointers Concept
Every variable has a memory location and every memory location has its address defined which can be accessed using ampersand (&) operator, which denotes an address in memory. Consider the following...

Why Indexing Should Start From Zero In Array ?
Why numbering should start at zero? To denote the subsequence of natural numbers 2, 3, ..., 12 without the pernicious three dots, fourconventions are open to usa) 2 ≤ i < 13b) 1 < i ≤ 12c)...

4 Things Every Tech Startup Needs to Know About The Coaching Industry
Knowledge on any subject is widely available to those who wish to learn. However, just gathering knowledge from other people doesn’t guarantee results in business. Results come from applying what...

Java and C trainer
Always think any conspect with real-time example like Object -- object must have states and behaviour then only we will call that thing is Object like fan is Object (rotating,color)

Recommended Articles

Lasya Infotech is a Hyderabad based IT training institute founded in 2016 by O Venkat. Believing in his innovation, passion and persistence and with a diverse blend of experience, he started his brainchild to deliver exemplary professional courses to aspiring candidates by honing their skills. Ever since the institute envisions...

Read full article >

Brilliant Academy is one of the reputed institutes for B.Tech tuition classes. This institute is specialised in delivering quality tuition classes for B.E, Engineering - all streams and Engineering diploma courses. Incorporated in 2012, Brillant Academy is a brainchild of Mr Jagadeesh. The main motto of the academy is to...

Read full article >

Applications engineering is a hot trend in the current IT market.  An applications engineer is responsible for designing and application of technology products relating to various aspects of computing. To accomplish this, he/she has to work collaboratively with the company’s manufacturing, marketing, sales, and customer...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Looking for C Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for C Language Classes?

The best tutors for C Language Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn C Language with the Best Tutors

The best Tutors for C Language Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more