Mastering Development

Do all functions from a static library get linked into the final executable?

I am new to static libraries and just want to make 100% sure that what i’m doing is right. To make it short, i’ll try to explain my question with this simple example: If in mylib.a i have defined the following functions: int f1 (int a, int b) {/*some code here…*/} int f2 (int a, […]