In C++, header files are used to reduce the amount of code that needs to be written.
The Standard C Library has 19 header files.
The h file extension is used for all files.
The complexity and amount of lines of code are both reduced.
Additionally, it allows you to reuse the functions that are declared in header files for various purposes.
Vishalini.R Answered question May 27, 2023
