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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c++ the best programming language?

532


Differentiate between the message and method in c++?

602


How does a C++ structure differ from a C++ class?

617


What is c++ 11 and c++ 14?

578


Explain about Garbage Collector?

642






Why #include is used?

611


Define the process of handling in case of destructor failure?

571


What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00

630


Can we sort map in c++?

587


How does list r; differs from list r();?

687


What are iterators in c++?

589


Is string data type in c++?

579


What are friend functions in C++?

617


What is the difference between ++ count and count ++?

571


You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. New() and malloc()

586