Question: what is the difference between static library and dynamic library?
Answer: Static libraries, while reusable in multiple programs, are locked into a program at compile time. Dynamic, or shared libraries on the other hand, exist as separate files outside of the executable file. ... In contrast, a dynamic library can be modified without a need to re-compile.