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
When not to use object oriented programming?
What is overriding vs overloading?
Why do we use class in oops?
What is encapsulation in simple terms?
How do you answer polymorphism?
Where You Can Use Interface in your Project
What does enum stand for?
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.
What is destructor example?
What is polymorphism and its types?
What is the real time example of encapsulation?
How does polymorphism work?
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?
write a programe to calculate the simple intrest and compund intrest using by function overlading
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.