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 |
What is the difference between a string and an array?
Why is c called a structured programming language?
union { char ch[10]; short s; }test; test.s = 0xabcd; main() { printf("%d",ch[10]); }
How can I get the current date or time of day in a c program?
Is it acceptable to declare/define a variable in a c header?
totally how much header files r in c language
Why do we use pointer to pointer in c?
void swap(int a,int b) { a=a+b; b=a-b; a=a-b; } in this code always gives the same result for all case
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
What are the 5 data types?
why we use pointer in c