What is function ? A function is a block of code in a programming language that performs a specific or predefined task whenever we call it in our program. We can also say a function is a reusable block of code that can be executed whenever needed. Ad...