What is a dynamic library in C?

Dynamic libraries are a collection of object files which are referenced at build time to give the executable information how they will eventually be used, but they aren’t used until run time . In other words, these objects are dynamically linked into executables that use them.

Read more

What is shared library in C++?

A shared library is an object module that can be loaded at run time at an arbitrary memory address, and it can be linked to by a program in memory . Shared libraries often are called as shared objects. On most UNIX systems they are denoted with a . so suffix and Microsoft refer to them as DLLs (dynamic link libraries).

Read more