Question: what is difference between static and dynamic library in c?
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. ... A static library, however, is untouchable because it lives inside the executable file.