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

What is guard code in c++?

644


What are c++ tokens?

594


What is a constant reference?

624


Explain the auto storage classes in c++.

605


What is exception handling? Does c++ support exception handling?

591






What is cin clear () in c++?

615


What is meant by const_cast?

653


Define the process of error-handling in case of constructor failure?

573


Can a constructor return a value?

577


What is the difference between a reference and a pointer?

601


Explain how an exception handler is defined and invoked in a Program.

587


Why cstdlib is used in c++?

585


How can you tell what shell you are running on unix system?

645


Briefly describe a B+ tree. What is bulk loading in it?

807


What is c++ best used for?

569