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
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is inheritance and how many types of inheritance?
What is polymorphism explain?
Is enum a class?
write a program that takes input in digits and display the result in words from 1 to 1000
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
Why do we use polymorphism in oops?
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 are the 4 pillars of oop?
How to hide the base class functionality in Inheritance?
Can a destructor be called directly?
What is oops?what is its use in software engineering?
What is data binding in oops?
Explain the advantages of inheritance.
What is the main purpose of inheritance law?