And it will expect an integer value from the main function. That integer value represents the status of the program. That's why we declared main function return type as int. If any error in the program while execution, the main function will return some non-zero value to the operating system.
If the program executed successfully without any error, It will return zero. Let us consider the following example,. From the above example, Generally Header Files consists many features so that, by including or importing the Header Files "stdio. Basically these functions are called as "inbuilt" or "built-in" functions in C programming. The prototype or signature and data definitions of these functions are present in their respective header files. And these Header files may also contain macros and variables specific to the library.
In C program, the program execution starts from main and its signature is having a return type of integer from our example. It also consists of body of the function inside which we include our custom logic. In this article we are discussing in brief up on the "Header Files Inclusion" section for "stdio. Header file are of two types,.
Here include is a preprocessing directive which informs the C compiler to include those specific files for the program. In many programming language, they have their own convention for getting the input from the user or sending the processed output to the user at the console. Similarly in C language we have this header file - "stdio. Lets split the keyword into a small individual, So that we can bring a meaning to it later. The name of header file is "stdio. As discussed in the previous section section 1 , Header files do have many functions.
Built-in C functions in respect of "stdio. Duggineni Srinivasa Rao 18 Oct. Manoj S. Lasya Infotech: An educational Training 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 Brilliant Academy, a reputed B. Tech Tuition 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 , Brillant Academy is a brainchild of Mr Jagadeesh.
The main motto of the academy is to Make a Career in Mobile Application Programming. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go.
People now want instant access to all their business What is Applications Engineering all about? 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.
I am a Student. I am a Tutor. Sorry, this phone number is not verified, Please login with your email Id. By signing up, you agree to our Terms of Use and Privacy Policy. Over 55 lakh students rely on UrbanPro. Using UrbanPro. More than 7. 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. Post your Learning Need Signup as a Tutor. Why we use 'include stdio. If you request to use a header file in the program by actually Hope this helps read less. Comments Dislike Bookmark. 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 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.
0コメント