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

What does override mean in c++?

784


Can comments be nested?

812


What is meant by a delegate?

812


What is a terminating character in c++?

1035


Explain the uses oof nested class?

892


List the types of polymorphism in c++?

848


Can manipulators fall in love?

758


Explain the properties and principles of oop.

745


What is purpose of new operator?

816


What new()is different from malloc()?

826


What is friend class in c++ with example?

693


What is polymorphism in c++? Explain with an example?

807


Do class declarations end with a semicolon? Do class method definitions?

869


What is the difference between struct and class?

1064


Write a C++ Program to check whether a number is prime number or not?

864