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 are protected members in c++?
Where Malloc(), Calloc(), and realloc() does get memory?
Write about all the implicit member functions of a class?
What does int * mean in c++?
What is function prototyping?
Explain how an exception handler is defined and invoked in a Program.
What is setbase c++?
Why isn't sizeof for a struct equal to the sum of sizeof of each member?
How long it will take to learn c++?
Distinguish between a # include and #define.
How do you flush std cout?
How would you use the functions randomize() and random()?
What is anonymous object in c++?
What are abstract data types in c++?
Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work