English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

What is the use of a header file? - Computer Science

Advertisements
Advertisements

Question

What is the use of a header file?

Short Note

Solution

Header files contain definitions of Functions and Variables, which are imported or used into any C++ program by using the preprocessor #include statement. Header files have an extension “.h” which contains C++ function declaration and macro definition.
Example: #include

shaalaa.com
C++ Character Set
  Is there an error in this question or solution?
Chapter 9: Introduction to C++ - Evaluation - Section - C [Page 131]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 11 TN Board
Chapter 9 Introduction to C++
Evaluation - Section - C | Q 4. | Page 131
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×