answersLogoWhite

0

Static binding is where the linker copies the called function into the program's executable image from the appropriate library and resolves the references to the function at compile/link time. The program contains a copy of the library function and does not need to load it at run time.

Dynamic binding is where the linker inserts stub code into the program's executable image that references the appropriate library. The library function is then copied into memory at load or run time and references are resolved then. The program does not contain a copy of the library function, and the library must be accessible at load/run time.

There are two kinds of dynamic binding. The first is load time, where the library must be loaded before the program starts to execute. In this case, if the library is not found, load fails and the program does not run. The second is run time, where the library must be loaded at the point of first access. This occurs after then program starts to execute, and the program can change its behavior depending on options or library availability.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What is Difference between dynamic polymorphism and static polymorphism with example?

Static polymorphism is used the concept of early binding or we can say compile time binding where as dynamic polymorphism used the concept of late binding or run time binding.


Static vs dynamic binding in c plus plus?

Static binding occurs at compile time. Dynamic binding occurs at runtime.


What is the difference between static and dynamic fighting?

Static stays the same and dynamic is always different.


What is Difference between static and dynamic list?

A static one cannot change, while a dynamic one can.


What is the difference between static pressure and dynamic pressure?

The main difference of static pressure and dynamic pressure is:- static pressure is exerted by fluid at rest but dynamic pressure is pressure exerted by fluid in motion.


What is the general difference between a static IP and a dynamic IP?

The general difference between a static IP and dynamic IP is that a static IP is reserved and does not change. A dynamic IP on the other hand changes each time one logs on.


What are the difference between static and dynamic hashing in DBMS?

Search operation in static hashing is time consuming, but in dynamic hashing it is not.


What is the difference between dynamic torque and static torque ratings?

One difference between dynamic torque and static torque is the level of difficulty to measure. Static torque is each to measure, while dynamic torque is not. This is because it requires a transfer of an electric or magnetic effect.


Difference between static multiplier dynamic multiplier?

Type your answer here...


What is binding in oops?

Binding is defined as the connection between the function call and the corresponding program code to be executed. There are two types of bindings. They are; 1.static binding and 2.Dynamic binding.


Is late binding and dynamic binding related to polymorphism?

Late binding and dynamic binding are related to runtime polymorphism. By contrast, compile time polymorphism is known as static binding. Template functions and classes are examples of static binding because the exact type can be determined at compile time.


Difference between static and dynamic ip address?

static stays the same, dynamic changes when you power on power off and after a certain amount of time.