Ericsson interview question

Write a C program which exhibits the polymorphism