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

write a c/c++ programthat connects to a MYSQL server and checks if the INNoDB plug in is installed on it.If so your program should print the total number of disk writes by MYSQL.

0 Answers   BirlaSoft,


What is information technology.

1 Answers  


what is computer

4 Answers  


Write a program for Overriding.

0 Answers  


What is the use of bit field?

0 Answers  






What is s or c?

0 Answers  


What is the use of printf() and scanf() functions?

0 Answers  


How to write a program for swapping two strings without using 3rd variable and without using string functions.

7 Answers   iGate, Infotech,


how to create c progarm without void main()?

1 Answers   NIIT,


What are pointers? What are different types of pointers?

0 Answers   Fidelity,


What are the different types of control structures in programming?

0 Answers  


main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); } wat is the o/p and how?

12 Answers   Tech Mahindra,


Categories