1.

What is dynamic binding?(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 mentionedI had been asked this question by my school principal while I was bunking the class.This key question is from C++ Concepts in chapter Basics Concepts of C++ of C++

Answer»

Correct choice is (a) The process of linking the actual CODE with a procedural CALL during run-time

The best explanation: BINDING of CALLS and variables with actual code at run-time is called dynamic binding. For example in the concept of polymorphism types are decided are defined during the execution of code which leads to the different function calls depending upon the types used this is called dynamic binding. As the function call is decided during the run-time therefore dynamic binding happens at run-time.



Discussion

No Comment Found

Related InterviewSolutions