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 |
void main() { static int i = 5; if(--i) { main(); printf("%d ",i); } } what would be output of the above program and justify your answer? }
5 Answers C DAC, CDAC, Infosys, Wipro,
What is the purpose of the code, and is there any problem with it? unsigned int f( unsigned n ) { return –n & 7; }
write a programme that inputs a number by user and gives its multiplication table.
What is optimization in c?
What does %p mean?
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
Do pointers need to be initialized?
What is strcmp in c?
wtite a program that will multiply two integers in recursion function
what will be the output of this program? #include<stdio.h> #define cube(x) x*x*x void main() { int i,j=5; i=cube(j+3); printf("i=%d",i); }
What is spaghetti programming?
main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); }