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?