NEC Corporation interview question

How to implement a class in C