OOP in C Example