Home / Questions / In header files whether functions are declared or defined?
Explanatory Question

In header files whether functions are declared or defined?

👁 2,841 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

Functions are declared within a header file. That is function prototypes exist in a header file, not function bodies. They are defined in the library (lib).