in header files whether functions are declared or defined in
c language?

Answers were Sorted based on User's Feedback



in header files whether functions are declared or defined in c language?..

Answer / suraj.v

in header files the function are declared not defined it's
defined in the library routines
only A header file is a file containing C declarations and
macro definitions to be shared between several source files.

You request the use of a header file in your program by
including it, with the C preprocessing directive `#include'.

Header files serve two purposes.

1) System header files declare the interfaces to parts of
the operating system. You include them in your program to
supply the definitions and declarations you need to invoke
system calls and libraries.

2) Your own header files contain declarations for interfaces
between the source files of your program. Each time you have
a group of related declarations and macro definitions all or
most of which are needed in several different source files,
it is a good idea to create a header file for them.

Is This Answer Correct ?    7 Yes 1 No

in header files whether functions are declared or defined in c language?..

Answer / inishaka

header files is defined function

Is This Answer Correct ?    0 Yes 10 No

Post New Answer

More Engineering AllOther Interview Questions

Explain work?

0 Answers  


through which part of the woman, wil the food go to foetus?

1 Answers   IOCL,


100,1,99,2,98,3...... write a C pgm to generate this series with user input for the number of nos. to b displayed..

7 Answers   Exilant,


what is recursion in c language?

0 Answers  


#include<stdio.h> int fn(int v); main() { printf("%d\n",fn(7)); } int fn(int v) { if(v==1 || v==0) return 1; if(v%2==0) return fn(v/2)+2; else return fn(v-1)+3; }

0 Answers  






PLEASE SEND ME NIC SCIENTIFIC OFFICER-2009 EXAM PATTERN AND QUESTION PAPERS

0 Answers   NIC,


what is buffer solution?

0 Answers   HCL,


How to select the total numbers of fire extinguisher installed in a room ?

0 Answers  


who to change a passward in router?

0 Answers   iLogic,


How would you design a gravity dam for holding back water?

0 Answers  


write program which accept information about 5 student & display same information according to ascending order of their name??

0 Answers  


Guys! I coplted 10th with 80% and +2 with 64% now am dng c.s.e b.tech...i want to go abroad for higher studies i want to write tofel...plZ GIVE UR SUGGESTIONS!

0 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5084)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4451)
  • Electrical Engineering Interview Questions Electrical Engineering (16631)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1094)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)