whats the use of header file in c?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is c method?

539


Explain main function in c?

630


What are the characteristics of arrays in c?

616


What is string in c language?

630


What is binary tree in c?

628






What are the 32 keywords in c?

639


What is the use of extern in c?

651


Explain zero based addressing.

613


What happens if header file is included twice?

659


Write a simple code fragment that will check if a number is positive or negative.

712


How do I get a null pointer in my programs?

624


Explain what is the difference between a string and an array?

640


Can we declare variables anywhere in c?

582


Can stdout be forced to print somewhere other than the screen?

627


Can static variables be declared in a header file?

620