Function definition
Function definition: function definition contains the statements which we want to perform some specific task according to requirement. Syntax: return-type function-name(parameters) { Variable declaration; Statement1; ————— ————— Return statement; } …