What is a header file?



What is a header file?..

Answer / Neelambuj Kumar Shrivastava

In C, a Header File is a collection of function prototypes, macros, and data types that can be included in multiple source files. Header files are typically saved with the .h extension and provide a way to share code between different parts of a program without repetition.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Does free set pointer to null?

1 Answers  


What’s the special use of UNIONS?

1 Answers   ADP,


Explain how can I convert a number to a string?

1 Answers  


Explain how to reverse singly link list.

1 Answers  


char p="data"; printf(p);

2 Answers  


write a program to find the largest and second largest integer from an array

2 Answers   Value Labs,


Can you explain the four storage classes in C?

1 Answers   TCS,


print ur name 20,000 times without using inbuilt library functions like printf,scanf,gets,puts,getchar or putchar

4 Answers   IBM,


print 1-50 with two loop & two print Statement

2 Answers  


Explain the red-black trees?

1 Answers  


write a c program to find largest of three numbers using simple if only for one time.

1 Answers  


What is the difference between scanf and fscanf?

1 Answers  


Categories