A function is a set of instructions that performs a specific task.In Programming there are two types of functions:1. Built in Function 2. User defined function. Built in Function is already written, tested and stored in source file. User just uses them in programme. So, related library file have to include in programme.