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


Please Help Members By Posting Answers For Below Questions

Is it possible to provide default values while overloading a binary operator?

778


What is a binary file? List the merits and demerits of the binary file usagein C++.

740


What is the basic of c++?

619


What is the limitation of cin while taking input for character array?

1464


Explain data encapsulation?

616






What is c++ code?

597


What does ios :: app do in c++?

561


What are stacks?

619


What are enumerations?

671


How to defines the function in c++?

630


Write a program to interchange 2 variables without using the third one.

592


Write syntax to define friend functions in C++.

609


What is atoi?

553


What is the difference between mutex and binary semaphore?

623


What is the difference between a pointer and a link in c ++?

571