What is a User-defined function?
The user-defined functions are declared and defined in the program by the programmer which perform specific activity and give expected result.