Question:

Which one of disadvantage of using dynamically linked library (DLL) compared to using statically linked library:

Show Hint

DLLs generally reduce executable size, permit code sharing among applications, simplify software updates, and allow bug fixes to be distributed without rebuilding every program.
Updated On: Jun 11, 2026
  • A program can not take advantage of bug fixes in DLL, long after the program written
  • Executable file size is larger with DLL
  • None of other option
  • RAM usage is larger with DLL
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Concept: Libraries are collections of reusable code that programs use to perform common tasks. There are two major methods of linking libraries:

• Static Linking

• Dynamic Linking (DLL)
In static linking, library code becomes part of the executable file. In dynamic linking, the executable contains only references to external library files, which are loaded during execution. To identify the correct option, we examine each statement carefully.

Step 1: Analyse Option (A).
Option (A) states: A program cannot take advantage of bug fixes in DLL. This statement is incorrect. One of the biggest advantages of DLLs is that if the DLL developer fixes a bug and distributes an updated DLL, all applications using that DLL can immediately benefit from the fix without recompilation. Thus DLLs actually make bug-fix deployment easier. Hence Option (A) is false.

Step 2: Analyse Option (B).
Option (B) claims that executable size becomes larger with DLL. This is also incorrect. Since DLL code is stored separately and not embedded into every executable, \[ \text{Executable Size with DLL} < \text{Executable Size with Static Linking} \] in most practical situations. Therefore Option (B) is false.

Step 3: Analyse Option (D).
Option (D) states that RAM usage is larger with DLL. Again this is generally incorrect. A single DLL loaded into memory may be shared by several running applications simultaneously. This sharing often reduces total memory consumption. Therefore Option (D) is false.

Step 4: Determine the correct answer.
We found that: Option (A) = False Option (B) = False Option (D) = False Since none of these statements represent a valid disadvantage of DLLs, the correct choice is \[ \boxed{\text{(C) None of other option}} \] Therefore the answer is \[ \boxed{(C)} \]
Was this answer helpful?
0
0