What is difference between static and dynamic library in C?

Thành Nguyễn

New member
What is difference between static and dynamic library in C?
Answer
Static libraries, unlike
dynamics, gather object files into one
, while dynamics exist as separate files outside the executable, which means that static libraries add those files as they link, before it becomes an executable binary and dynamic libraries also have object files but are not added during compilation, they …
 

Tìm kiếm

Back
Top