..

FreePrograms


C programming Tutorial 

Free C Programs, C Programs Download


Embedded C lang & 8051(Embedded Products)


  CONTACT US   ABOUT US   PRIVACY  DISCLAIMER

FREE C PROGRAMS 

 C Tutorial for beginners
What is C C vs C++ vs Java Program Structure Data Types in C Basic Rules of C & C++
Functions in C If, Else Conditions Loops in C Switch Case Arrays
Pointers Structures in C Strings in C Command Line Arguments Type Casting
Linked Lists Recursion Binary Trees Inheritance Multiple Inheritance
Templates File I/O Object Oriented Programming  Data Structures in C C interview Questions

/*Polymorphism in CPP   C++/CPP Tutorial.*/

 
Polymorphism is the ability to use an operator or method in different ways. Polymorphism gives different meanings or functions to the operators or methods

Modern object-oriented languages provide 3 things:

encapsulation
inheritance
polymorphism

C++ provides three different types of polymorphism.

■Virtual functions
■Function name overloading
■Operator overloading


In addition to the above three types of polymorphism, there exist other kinds of polymorphism:

■run-time
■compile-time
■ad-hoc polymorphism
■parametric polymorphism


 

 

COPYRIGHT 2009 ALL RIGHTS RESERVED FREECPROGRAMS.COM