what information does the header files contain?
Answers were Sorted based on User's Feedback
Answer / naveena
header file is a file containing C declarations and macro
definitions to be shared between several source files
| Is This Answer Correct ? | 18 Yes | 5 No |
Answer / mohancvk
the header files consists of file-inclusions,macro
definitions and declarations which get replaced with the
textual source code at preprocessor level ie., before
compilation process.
| Is This Answer Correct ? | 11 Yes | 4 No |
Answer / shashi
In computer programming, particularly in the C and C++
programming languages, a header file or include file is a
file, usually in the form of source code, that a compiler
automatically includes when processing another source file.
Typically, programmers specify the inclusion of header files
via compiler directives at the beginning (or head) of the
other source file.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / dips
Header files contain the definations of the functions that
are to be used in the program.In order to recognise the
defined functions ex, printf, scanf etc you need to define
the header file STDIO.h where the defination of these
functions are declared.Which makes writting of the program
very easy
| Is This Answer Correct ? | 16 Yes | 12 No |
Answer / vivek k dixit
A header file contains #define,structure,union and enum
declarations,it also contains global variable and external
funtion declarations.The # include directive should be used
to pull in header files.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / avinandan
Header files contain line- and field-oriented ASCII text
It contain declerations,macro definitions.
| Is This Answer Correct ? | 0 Yes | 7 No |
How to reverse a string using a recursive function, with swapping?
plz let me know how to become a telecom protocol tester. thank you.
x=y=z=1 z=++x||++y&&++z Printf("%%%d";xyz) what is the values of x,y and z?????
34.what are bitwise shift operators? 35.what are bit fields? What is the use of bit fields in a structure declaration? 36.what is the size of an integer variable? 37.what are the files which are automatically opened when a c file is executed? 38.what is the little endian and big endian? 39.what is the use of fflush() function? 40.what is the difference between exit() and _exit() functions? 41.where does malloc() function get the memory? 42.what is the difference between malloc() and calloc() function? 43.what is the difference between postfix and prefix unary increment operators?
Where does the name "C" come from, anyway?
Function to find the given number is a power of 2 or not?
what will be the output of the following program, justify? #define TEST int TEST getdata() { static i; i+=10; return i; } main() { int k; k = getdata(); }
#include <stdio.h> int main ( int argc, char* argv [ ] ) { int value1 = 10; int value2 = 5; printf ( "\n The sum is :%d", value1 | value2 ); } This is the answer asked by some one to add two numbers with out using arithmetic operator?Yes this answer is write it given out put as 15.But how????? what is need of following line? int main ( int argc, char* argv [ ] ) how it work?what is the meaning for this line? please explain me.Advance thanks
What is the use of header files?
void main() { int a=1; printf("%d %d %d",a,++a,a++); } the output is supposed to be 1 2 2....but it is 3 3 1 this is due to calling conventions of C. if anyone can explain me how it happens?
#define FALSE -1 #define TRUE 1 #define NULL 0 main() { if(NULL) puts("NULL"); else if(FALSE) puts("TRUE"); else puts("FALSE"); }
what is data structure