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 normal variables and pointer variables..............
15 Answers HP, Infosys, Satyam, Vivekanand Education Society,
What are Macros? What are its advantages and disadvantages?
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
What does c in a circle mean?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
say the following declaration is correct nr not. int b=a,n=0;
what is a function prototype?
How to find the usage of memory in a c program
The __________ attribute is used to announce variables based on definitions of columns in a table?
What are qualifiers in c?
main() { int a,b; printf("%d,%d",scanf("%d%d",&a,&b)); } => do u mean above program's output... =>output will be:2,whatever you enter value for b. =>because scanf is a library fn which will return how many arguements it processes, and second value you are right mr.Satya but i found my self unable to understand that for the first time scanf returns the no of successful matches but how for the second time it returns the value of 'b'.while a function should return the same 'r' value every time.
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset