What is static binding in C++?

A)  The process of linking the actual code with a procedural call during run-time
B)  The process of linking the actual code with a procedural call during compile-time
C)  The process of linking the actual code with a procedural call at any-time
D)  All of the above

Correct Answer :   The process of linking the actual code with a procedural call during compile-time


Explanation : By default, C++ matches a function call with the correct function definition at compile-time. This is called static binding. You can specify that the compiler match a function call with the correct function definition at runtime; this is called dynamic binding.