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 scope in c++ with example?
Why iomanip is used in c++?
what is Loop function? What are different types of Loops?
How do you define/declare constants in c++?
Is std :: string immutable?
What are the rules about using an underscore in a c++ identifier?
What is c++ used for in games?
Define basic type of variable used for a different condition in C++?
What is the average salary of a c++ programmer?
Can there be at least some solution to determine the number of arguments passed to a variable argument list function?
Explain how an exception handler is defined and invoked in a Program.
What does the nocreate and noreplace flag ensure when they are used for opening a file?
What is the use of class in c++?
What is size_type?
What is a flag in c++?