whats the use of header file in c?

Answers were Sorted based on User's Feedback



whats the use of header file in c?..

Answer / shalini

header file constitutes all the pre defined functions that
are necessary for a program to run.hence whenever u compile
a program the compiler links all the header files into the
corresponding program and starts execution

Is This Answer Correct ?    4 Yes 1 No

whats the use of header file in c?..

Answer / prabhakar

because it consists the definations of per defined functions
...
hence it will be includes the corresponding definations of
function when ever you called the function.

Is This Answer Correct ?    4 Yes 3 No

Post New Answer

More C Interview Questions

Do you know what is a programing language ?

0 Answers  


explain what are pointers?

0 Answers  


Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"

0 Answers  


Reverse the part of the number which is present from position i to j. Print the new number. eg: num=789876 i=2 j=5 778986

1 Answers  


What is structure and union in c?

0 Answers  






When you call malloc() to allocate memory for a local pointer, do you have to explicitly free() it?

2 Answers   Aloha Technology,


What are header files why are they important?

0 Answers  


Explain how do you use a pointer to a function?

0 Answers  


what is the difference between malloc() and calloc() function?

1 Answers  


What is the use of structure padding in c?

0 Answers  


Hai why 'c' is the middle language

4 Answers  


Write a programme to find even numbers without using any conditional statement?

3 Answers   ADD Software, Infosys,


Categories