known as runtime polymorphism2) Compile time polymorphism- Address of the function determine at the compiletime is known as runtime polymorphism
9.What do you mean by iostream.h?10What is inheritance and its type?11What is the difference between c and c++?
What are the differences between a class and an object?
Object is an instance of a class. The class is a blueprint of all the objects whichShare common properties and the behavior. Class represents the abstract data type andObject is a real-world entity.
What are the differences between a structure and a class?
There is no difference in structure and a class except that class members are private by default and structure members are public by default.
What is the difference b/n public, private and protected?
having public as access outside the class.
The data members and methods declared as protected will be accessible to the class methodsand the derived class methods only.
These data members and methods will be accessible not from objects created outside the class.
14What is the difference b/n variable declaration and definition?