What do you mean by binding of data and functions?

Answer Posted / zoya

Binding is the process of connecting the function call to the function body. I.E. When we call the function, the parameters and the function name are passed to a internal function of the system. The system then locates the memory chunk where the function is defined(i.e. provides the address).<br><br>There are 2 types of binding:<br>1. Early binding: When the binding happens during the compilation.(Before the run time). Example: Normal functions<br><br>2. Late Binding: Also known as dynamic binding, Run Time binding etc. Here the binding happens during the runtime. <br>Example: Virtual functions.<br><br>

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When not to use object oriented programming?

766


What is overriding vs overloading?

778


Why do we use class in oops?

740


What is encapsulation in simple terms?

758


How do you answer polymorphism?

790


Where You Can Use Interface in your Project

1608


What does enum stand for?

854


Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.

919


What is destructor example?

770


What is polymorphism and its types?

799


What is the real time example of encapsulation?

786


How does polymorphism work?

857


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1610


write a programe to calculate the simple intrest and compund intrest using by function overlading

1887


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1693