Showing posts with label elements of user defined functions. Show all posts
Showing posts with label elements of user defined functions. Show all posts

What are the elements of user defined functions?

User defined functions

Functions are blocks of codes to perform specific tasks and return the result. However it is not mandatory for a function return anything and also a function is not limited to performing one task only. User defined functions are basic building blocks of a program and can be found in the basic structure of C program.

Functions can be classified into two categories, namely, library functions and user-defined functions. The functions which are developed by user at the time of writing a program are called user defined functions. Thus, user defined functions are functions developed by user.