Question: what is the difference between static binding and dynamic binding in c++?
Answer: In static binding, the function defination and the function call are linked during the compile-time whereas in dynamic binding the function calls are not resolved until runtime. So they are not bound until runtime. Static binding happens when all information needed to call a function is available at the compile-time.