C++ code is sensitive to position

C++ code is sensitive to the relative locations of function definitions and the code that calls the functions.

In order for C++ code to successfully call a function, the function must have either been: