WHAT IS EARLY BINDING AND DYNAMIC BINDING?

Mahesh Rawat

Total Post:138

Points:690
Posted by  Mahesh Rawat
OOPS 
 2652  View(s)
Ratings:
Rate this:
  1. Mahesh Rawat

    Post:138

    Points:690
    What is Early Binding and Dynamic Binding?

    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!