what is a headerfile?and what will be a program without it
explain nan example?

Answers were Sorted based on User's Feedback



what is a headerfile?and what will be a program without it explain nan example?..

Answer / yyy

header file contains pre defined functions.that are used in
the programme.
header files will have .h as an extension.
eg:stdio.h is a header file which contains input and output
functions like scanf and printf.

Is This Answer Correct ?    7 Yes 2 No

what is a headerfile?and what will be a program without it explain nan example?..

Answer / xyz

headerfile is a library of functions,which the program
refers to and uses required functions to execute the
operation..!

Is This Answer Correct ?    4 Yes 2 No

what is a headerfile?and what will be a program without it explain nan example?..

Answer / vignesh1988i

header file is a one of the important librarary files where our functions which are built in (printf(), scanf(), getche(),getch(),strcpy(), etc etc) would be defined and retrieved for other operations when the functions defined in the header file is called..........


thank u

Is This Answer Correct ?    0 Yes 0 No

what is a headerfile?and what will be a program without it explain nan example?..

Answer / praveen badiger

Header files are predefined function, these are defined in .h extention .if u not used the header file compiler will through an error message..

Is This Answer Correct ?    0 Yes 0 No

what is a headerfile?and what will be a program without it explain nan example?..

Answer / prabu

header file consists of several modules in which the printf
and scanf function can call automatically througyh header file

Is This Answer Correct ?    0 Yes 1 No

what is a headerfile?and what will be a program without it explain nan example?..

Answer / pradeep m.c

headerfile is one includes pre-defined functions n
and definatrions and is a librari of functions,which the
programme refers to and uses required function to
execute operations.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C Interview Questions

What is volatile variable how do you declare it?

0 Answers  


What are dynamically linked and statically linked libraries?

2 Answers  


What is volatile, register definition in C

0 Answers   Cognizant,


What are local variables c?

0 Answers  


write a program to find the frequency of a number

4 Answers   Infosys,


Can a pointer be static?

0 Answers  


is assignment operator is arithmatic or not

3 Answers   Infosys,


what are two kinds of java

2 Answers  


the output will be #include<stdio.h> int main () { int i; i = 9/2; printf("%i",i); return 0; }

4 Answers   CMC, TCS,


What are all different types of pointers in c?

0 Answers  


what will be the output of the following program, justify? #define TEST int TEST getdata() { static i; i+=10; return i; } main() { int k; k = getdata(); }

3 Answers  


what is the output of the code and how? main() { int *ptr,x; x=sizeof(ptr); printf("%d",x); }

1 Answers  


Categories