1.

Polymorphism is possible in C language.(a) True(b) FalseI have been asked this question at a job interview.The doubt is from Polymorphism in portion OOPs Concept & Features of Object Oriented Programming

Answer»

The correct choice is (a) True

Explanation: It is possible to implement polymorphism in C LANGUAGE, even though it doesn’t support class. We can use structures and then declare pointers which in turn points to some function. In this way we simulate the functions LIKE MEMBER functions but not exactly member function. Now we can overload these functions, HENCE implementing polymorphism in C language.



Discussion

No Comment Found

Related InterviewSolutions