Separating main() for Testing
Let's learn about how we could use the linker to our advantage.
We'll cover the following
Testing the build
As we have established so far, a linker enforces the ODR and makes sure that all external symbols provide their definitions in the process of linking. One interesting problem that we might encounter is the correct testing of the build.
Get hands-on with 1200+ tech skills courses.