answersLogoWhite

0


Best Answer

http://thewizardstower.org/thelibrary/programming/polyc.html http://www.codeproject.com/KB/recipes/PolymorphismC.aspx

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you achieve Polymorphism in C?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Does c language support polymorphism?

C++ does.


Is overriding a dynamic polymorphism in c plus plus or not?

In C++, overriding and function, method, or operator is a different thing than (dynamic) polymorphism, so overriding a polymorphic method is almost entirely possible.


How can be different forms of polymorphism achieved?

Implicit Parametric PolymorphismSubtype PolymorphismExplicit Parametric Polymorphism


Polymorphism in coelentrates?

polymorphism in coelentrates


What is a relationship in following a-polymorphism b-inheritance c-overloading d-none of these options?

Inheritance.


Main deffrent between c and cpp?

C is a procedural programming language, while C++ is a multi-paradigm programming language that supports both procedural and object-oriented programming. C++ has additional features such as classes, inheritance, and polymorphism that allow for more flexible and modular code design compared to C.


What is polymorphism and its types?

Polymorphism means multiple form of a function, variable or object. In Computer Science, polymorphism is a programming language feature that allows values of different data types to be handles using a common interface. There are three types : Ad-Hoc Polymosphism, Parametric Polymorphism, Subtype/Inclusion Polymorphism. Source: Wikipedia.


What kind of drugs commonly has polymorphism?

Polymorphism is common with barbiturates, steroids, and sulphonamides.


Is polymorphism exist between prokaryotes?

Yes, polymorphism exists between the prokaryotes.


What is Difference between dynamic polymorphism and static polymorphism with example?

Static polymorphism is used the concept of early binding or we can say compile time binding where as dynamic polymorphism used the concept of late binding or run time binding.


What are the concepts of object oriented programming in c plus plus?

The concepts of OOP in C++ are the same as for OOP in any other programming language: abstraction, encapsulation, inheritance and polymorphism.


What is Polymorphism and inheritance explain with example?

Polymorphism, is an object-oriented programming concept, which relates to the ability to create a variable, function or an object that has more than one form. This allows the object to invoke the correct instance of the variable, function or other object based upon the object type. The most common use of polymorphism in OOP occurs when a parent class reference is used to refer to a child class object. Here are some links to examples: C++: http://www.cplusplus.com/forum/beginner/10884/ c#: http://msdn.microsoft.com/en-us/library/ms173152.aspx Python: http://en.wikipedia.org/wiki/Polymorphism_in_object-oriented_programming Java: http://www.tutorialspoint.com/java/java_polymorphism.htm