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

void main() { int a=1; while(a++<=1) while(a++<=2); }

4 Answers   HCL,


In cryptography, you could often break the algorithm if you know what was the original (plain) text that was encoded into the current ciphertext. This is called the plain text attack. In this simple problem, we illustrate the plain text attack on a simple substitution cipher encryption, where you know each letter has been substituted with a different letter from the alphabet but you don’t know what that letter is. You are given the cipherText as the input string to the function getwordSets(). You know that a plain text "AMMUNITION" occurs somewhere in this cipher text. Now, you have to find out which sets of characters corresponds to the encrypted form of the "AMMUNITION". You can assume that the encryption follows simple substitution only. [Hint: You could use the pattern in the "AMMUNITION" like MM occurring twice together to identify this]

0 Answers   Infosys,


How to write a C program to determine the smallest among three nos using conditional operator?

2 Answers   Google,


Why enum is used in c?

0 Answers  


how can u print a message without using any library function in c

1 Answers   NIIT,






Explain what are linked list?

0 Answers  


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

0 Answers  


Describe the order of precedence with regards to operators in C.

0 Answers  


How to print "I Love My India" without using semi colon?

4 Answers  


What is the deal on sprintf_s return value?

0 Answers  


What is modifier & how many types of modifiers available in c?

0 Answers  


What are the different data types in C?

0 Answers  


Categories