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 putchar() function?

0 Answers  


Why c is called procedure oriented language?

0 Answers  


Explain what are the different file extensions involved when programming in c?

0 Answers  


what is difference between getchar,putchar functions and printf and scanf function? does putchar show output only when input given to it

5 Answers   DIT,


Eight queens puzzle

0 Answers  






progrem to generate the following series 1 12 123 1234 12345

6 Answers   HCL, Wipro,


What is difference between union All statement and Union?

0 Answers  


main() { int i=5; printf("%d%d%d%d",i++,i--,i); }

10 Answers  


how to multiply two number taking input as a string (considering sum and carry )

2 Answers   Wipro,


Can two or more operators such as and be combined in a single line of program code?

0 Answers  


What is c programming structure?

0 Answers  


if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.

1 Answers   TCS,


Categories