Home > DeveloperSection > Interviews > What is Early Binding and Dynamic Binding?

Posted on    March-28-2011 7:49 AM

 OOPS OOPS 
Ratings:
 1 Answer(s)
  2428  View(s)
Rate this:

Mahesh Rawat
Mahesh Rawat

Total Post:138

Points:690
Posted on    March-28-2011 12:00 AM

The term binding refers to the connection between a function call and the actual code executed as a result of the call. Early Binding: If which function is to be called is known at the compile-time it is known as static or early binding. Dynamic Binding: If which function is to be called is decided at run time it is called as late or dynamic binding. Dynamic binding is so called because the actual function called at run-time depends on the contents of the pointer. For example, call to virtual functions, call to functions to be linked from dlls use late binding.

Don't want to miss updates? Please click the below button!

Follow MindStick