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 |
What are signals in C?
how to set Nth bit of a variable?
Can you add pointers together? Why would you?
What is #line in c?
In scanf h is used for
What is string in c language?
What is a stream in c programming?
What is wild pointer in c with example?
What are the different data types in C?
b) 4 c) 6 d) 7 32. Any C program a) must contain at least one function b) need not contain ant function c) needs input data d) none of the above 33. Using goto inside for loop is equivalent to using a) continue b) break c) return d)none of the above 34. The program fragment int a=5, b=2; printf(“%d”,a+++++b); a) prints 7 b)prints 8 c) prints 9 d)none of the above 35. printf(“ab” , “cd”,”ef”); prints a) ab abcdef c) abcdef, followed by garbage value d) none of the above 36. Consider the following program segment. i=6720; j=4; while((i%j)==0) { i=i/j; j=j+1; } On termination j will have the value a) 4 b) 8 c) 9 d) 6720
i want to make a program in which we use input having four digits(4321) and get output its reciprocal(1234).
What will be your course of action for a push operation?