Definitions

TucsonDon

Member
In C is there a difference if something is defined in a source file or a header file?
 
Only by convention.
Header files can be included multiple times and are not supposed to generate any code when compiled, but there are exceptions to that..
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…