What are .h files and what should I put in them?

Answer Posted / guest

Header files (also called ".h files") should generally contain
common declarations and macro, structure, and typedef
definitions, but not variable or function definitions.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why & is used in c?

720


Why is a semicolon (;) put at the end of every program statement?

632


write a program for the normal snake games find in most of the mobiles.

1789


code for replace tabs with equivalent number of blanks

1645


What is null pointer in c?

600






Explain how to reverse singly link list.

612


write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?

1678


What does sizeof return c?

610


Explain what is a program flowchart and explain how does it help in writing a program?

653


How can I get random integers in a certain range?

619


What are examples of structures?

601


How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

598


How do you override a defined macro?

704


If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

782


What is function prototype in c language?

619