Answer to Question link-1

A header file is a C++ file that describes things exported by a module. That is, it describes the things that the module defines that are intended to be used in other modules.