Polymorphism/C: Difference between revisions

m
lang tag
(Moved Polymorphism C example to here)
 
m (lang tag)
Line 1:
{{Programming-example-page|Polymorphism}}
<lang c> /* After reading this you may understand */
 
'''Compiler:''' GCC, MSVC, BCC, Watcom
 
'''Libraries:''' Standard
/* After reading this you may understand */
/* why Bjarne Stroustrup's invented C++ */
#if defined( _WIN32 ) || defined( MSC_VER )
Line 175 ⟶ 171:
c->print();
return 0;
}</lang>