Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

polymorphism simulation in plain C with a simple structures

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.13 sec, absolute running time: 0.34 sec, cpu time: 0.28 sec, memory peak: 7 Mb, absolute service time: 0,56 sec 
edit mode |  history  | discussion
Hello World!
my pet says: whoa! 
my pet says: meow! 

____________
meow! whoa! whoa! meow! 
____________

____________
meow! whoa! 
____________
Game Over!