Promatics Interview Question

Write the code for function overloading.