2082 7

Object Oriented Programming20825 marksEarly binding versus late binding

Differentiate between early binding and late binding. Write a program to show dynamic polymorphism using virtual function. [2+3]

Differentiate between early binding and late binding. Write a program to show dynamic polymorphism using virtual function. [2+3]

--- Feature Early Binding (Static Binding) Late Binding (Dynamic Binding) --------- Time of Resolution Resolved at compile time Resolved at run time Mechanism Uses normal functions / function overloading Uses virtual functions Flexibility Less flexible More flexible Speed Faster execution Slightl...

Up nextWhat are function templates? Also, write a program that swaps two values using function te