![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
The following general rules will help you to keep global variable declarations and function declarations properly separated from their definitions:
extern
) and functions
(using function prototypes) over and over, as long as each declaration is
the same. Accordingly, you can place declarations in header files that you
use to inform many source-code files about global variables and functions.