This is a simple example on how to write Object-oriented code in C. The structure here is simple, we have a 'parent' class named Animal, and its sub-classes based on different animals.