Why we are using header file is a question since we can declare it in the c file itself. So what I found out from my experience is follows:
- Easy review since it is a structured one.
- To include in multiple file same group of files,functions or macros.
- To include inbuilt library of the c compiler.
- To reduce the code size by making proper conditional preprocessor statements.
- To improve compilation time.
No comments:
Post a Comment