Can function definition be present in header files?

Can function definition be present in header files?

Can function definition be present in header files? mcq and its answer is provided on this page.

Can function definition be present in header files?

Que. Can function definition be present in header files?
a. a) Yes
b. b) No
c. c) Depends on the compiler
d. d) Depends on the standard
Answer: a
Explanation : None.


Comments