What is the difference between static link library and
dynamic link library?
Answer Posted / pushpalatha
Dynamic linking differs from static linking in that it
allows an executable module (either a .dll or .exe file) to
include only the information needed at run time to locate
the executable code for a DLL function. In static linking,
the linker gets all of the referenced functions from the
static link library and places it with your code into your
executable.
Using dynamic linking instead of static linking offers
several advantages. DLLs save memory, reduce swapping, save
disk space, upgrade easier, provide after-market support,
provide a mechanism to extend the MFC library classes,
support multilanguage programs, and ease the creation of
international versions.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is #include math h in c++?
What is & in c++ function?
What is the difference between while and do while loop? Explain with examples.
What is the output of the following program? Why?
Who was the creator of c++?
If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?
Define the operators that can be used with a pointer.
Does c++ have a hash table?
How do c++ struct differs from the c++ class?
What are the rules about using an underscore in a c++ identifier?
How do you declare a set in c++?
Why c++ is not a pure oop language?
What is iostream in c++ used for?
What is &x in c++?
Why is "using namespace std;" considered bad practice?