Texas Instruments Interview Question

idea to implement polymorphism in C