What are .h files and what should I put in them?
Answers were Sorted based on User's Feedback
Answer / deepti
(.h)means a header file,
and all the header files r included using
#include which is a preprocessor directive
i.e #include<stdio.h>
all the data input/output functions r stored in stdio.h
(where std-standard i-input o-output)
for eg.printf,scanf,putchar,getchar,puts,gets..
#include<conio.h>
(where con-console i-input o-output)
for eg.getch(),clrscr()...
there r many header files for diff purposes
like
#include<math.h> for maths
#include<iostream.h> for streams
etc........
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / guest
Header files (also called ".h files") should generally contain
common declarations and macro, structure, and typedef
definitions, but not variable or function definitions.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / siri&akhi
we can include header files i.e.,conio.h,iostream.h,stdio.h
| Is This Answer Correct ? | 0 Yes | 0 No |
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
Difference between pass by reference and pass by value?
Efficient data structure for store/search list of 1000 records a)array b)double linked list c)circular queue d)hash table
What is the size of enum in c?
What is c token?
find the minimum of three values inputted by the user
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
Can you add pointers together? Why would you?
1)which of following operator can't be overloaded. a)== b)++ c)?! d)<=
What are the Advantages of using macro
What is the use of f in c?
Find errors (1) m = ++a*5; (2) a = b ++ -c*2; (3)y = sqrt (1000);