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?

Answers were Sorted based on User's Feedback



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

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

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

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

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

Answer / siri&akhi

we can include header files i.e.,conio.h,iostream.h,stdio.h

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

When should you not use a type cast?

0 Answers  


Explain the differences between public, protected, private and internal.

2 Answers  


Find the middle node in the linked list?? (Note:Do not use for loop, count and count/2)

6 Answers   Subex,


find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }

0 Answers   Microsoft,


what is the differance between pass by reference and pass by value.

7 Answers   Infosys,


What is the use of #define preprocessor in c?

0 Answers  


Are there namespaces in c?

0 Answers  


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

3 Answers  


difference between ordinary variable and pointer in C?

2 Answers  


Write a program in C for showing working of different logical operator in C. Your program should guide users with proper message/menu on the console.

3 Answers   HCL,


Discuss similarities and differences of Multiprogramming OS and multiprocessing OS?

4 Answers   TCS,


YBJBU6

1 Answers  


Categories