what is the function of .h in #include<stdio.h> in c ?
Answer Posted / george mwenyeheri
stdio... stands for Standard Input Output library.. and the
".h" is the header file extension.. as in when u save a text
file the extension you give is .txt.. similarly we give .h
extension to the header file named stdio.. hope u are
comfortable with <stdio.h> .
Now lets concentrate on #include.. # is the pre processor
directive.. this is just to direct the pre processor to
'include' all the files contained in the <stdio.h> file
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can you please explain the difference between syntax vs logical error?
Differentiate between a for loop and a while loop? What are it uses?
what are the 10 different models of writing an addition program in C language?
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
What are preprocessor directives in c?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
What is pass by value in c?
Explain what math functions are available for integers? For floating point?
Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?
Explain 'bit masking'?
What are the features of c languages?
Can the sizeof operator be used to tell the size of an array passed to a function?
Why c is called procedure oriented language?
How main function is called in c?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.