Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between static link library and
dynamic link library?

Answers were Sorted based on User's Feedback



What is the difference between static link library and dynamic link library?..

Answer / mat

Static libraries are linked at compile time. Dynamic
libraries are linked at runtime

Is This Answer Correct ?    52 Yes 0 No

What is the difference between static link library and dynamic link library?..

Answer / vivek kumar kanojia

Above ans is correct and one more thing..
static library is faster than dynamic library

Is This Answer Correct ?    31 Yes 6 No

What is the difference between static link library and dynamic link library?..

Answer / kiran

above answer is correct and..
the excutable exe size will be larger when we build exe
with static library compared to dynamic library

Is This Answer Correct ?    18 Yes 3 No

What is the difference between static link library and dynamic link library?..

Answer / achal ubbott

Above answers are correct. In case of Dynamic Library your
executable will look up for the code at run time. E.g. when
running some exe it looks for help from some .dll files
provided by windows operating system. So we call this
dynamic linking.

Is This Answer Correct ?    11 Yes 1 No

What is the difference between static link library and dynamic link library?..

Answer / dinesh

The static linked library causes the corresponding information from libraries to be included in the executable DLL on the other hand inserts virtual address of memory. Thus the size of static linked file is larger than a static linked file. If we use dynamic linking the updates in library will also be effect the behavior of the file while not in static linking. Due to this reason dll is better but it can also sometimes make the program faulty due to library update.

Is This Answer Correct ?    9 Yes 3 No

What is the difference between static link library and dynamic link library?..

Answer / 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

What is the difference between static link library and dynamic link library?..

Answer / sameer patel

Above answer is correct and also say that the dynamic library is executable file and shared the library for functions.
Where static library execute module and provide information needed of run time....

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More C++ General Interview Questions

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

0 Answers  


Is c++ free?

0 Answers  


What is the return value of the insertion operator?

0 Answers  


What relational operators if statements in c++?

0 Answers  


Write about all the implicit member functions of a class?

0 Answers  


class X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.

2 Answers   Quark,


Why iomanip is used in c++?

0 Answers  


Which c++ operator cannot overload?

0 Answers  


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.

4 Answers   Webyog,


What is singleton class in c++?

0 Answers  


What is an orthogonal base class in c++?

0 Answers  


Define macro.

0 Answers  


Categories