what is a headerfile?and what will be a program without it
explain nan example?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
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 |
How does memset() work in C?
what is the code to display color fonts in the output?
what is the difference between declaration and definition of a variable or function ?
what are the advantages & disadvantages of unions?
Why are all header files not declared in every c program?
for (i <= 5 && i >= -1;++i; i > 0) { printf("%d ", i); }
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
What is define directive?
What are the types of i/o functions?
how to create duplicate link list using C???
1)what is the error in the following stmt where str is a char array and the stmt is supposed to traverse through the whole character string str? for(i=0;str[i];i++) a)There is no error. b)There shud be no ; after the stmt. c)The cond shud be str[i]!='\0' d)The cond shud be str[i]!=NULL e)i shud be initialized to 1
What is c system32 taskhostw exe?