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 |
What is #line?
How is null defined in c?
Explain the use of 'auto' keyword in c programming?
What language is lisp written in?
what is the use of operator ^ in C ? and how it works?
how can you print&scan anything using just one character? :) HINT: printf,scanf similer
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
What are the benefits of c language?
AMMONG THE 4 STROAGE CLASSES IN C, WHICH ONE FASTEST?
Is a house a mass structure?
what are the advantage of pointer variables? write a program to count the number of vowels and consonants in a given string
What is a stream water?