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

What are 3 types of structures?

1047


Explain modulus operator.

1031


When is a null pointer used?

1094


What is meant by errors and debugging?

1090


Is it acceptable to declare/define a variable in a c header?

1099


What are identifiers and keywords in c?

1084


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

1049


What are the key features in c programming language?

1049


Is a house a mass structure?

1079


Write program to remove duplicate in an array?

1065


Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]

1054


Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant

1131


Are there constructors in c?

994


In a header file whether functions are declared or defined?

1113


hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .

2426