What are header files? What are their uses?



What are header files? What are their uses?..

Answer / Devendra Kumar

Header files are C/C++ files with extension .h or .hpp. They contain function prototypes, macro definitions, and other necessary information for the compilation of source code files.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

i want to have a program to read a string and print the frequency of each character and it should work in turbo c

3 Answers   Persistent, Wipro,


main() { int x, arr[8]={11,22,33,44,55,66,77,88}; x=(arr+2)[3]; printf(ā€œ%dā€,x); }

8 Answers   Vector,


write program on arrays

3 Answers   GE, Polycab,


char ch=10;printf("%d",ch);what is the output

14 Answers   Accenture,


hi send me sample aptitude papers of cts?

0 Answers  


How do you override a defined macro?

1 Answers  


Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.

1 Answers  


What's a good way to check for "close enough" floating-point equality?

1 Answers   Celstream,


What is declaration and definition in c?

1 Answers  


What is difference between union and structure in c?

1 Answers  


what is real time system?what is the differance between hard and soft real time systems

2 Answers  


Please provide question papers of NATIONAL INFORMATICS CENTRE for Scientific officer

0 Answers  


Categories