Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are .h files and what should I put in them?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you please compare array with pointer?

1156


How can I open files mentioned on the command line, and parse option flags?

1106


int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above

1393


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

1602


a c code by using memory allocation for add ,multiply of sprase matrixes

2865


What are the standard predefined macros?

1206


Can we assign string to char pointer?

1187


What are comments and how do you insert it in a C program?

1304


Why c is called object oriented language?

1118


Was 2000 a leap year?

1093


Explain what is wrong in this statement?

1178


What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25

2044


What is the purpose of scanf() and printf() functions?

1302


What are control structures? What are the different types?

1147


What is a global variable in c?

1083