C++ Virtual Functions Question:
Download Job Interview Questions and Answers PDF
What is Static Binding?
Answer:
By default, matching of function call with the correct function definition happens at compile time. This is called static binding or early binding or compile-time binding. Static binding is achieved using function overloading and operator overloading. Even though there are two or more functions with same name, compiler uniquely identifies each function depending on the parameters passed to those functions.
Download C++ Virtual Functions Interview Questions And Answers
PDF
Previous Question | Next Question |
Do you know the problem with overriding functions? | What is Dynamic Binding? |