What is user defined functions?



User defined functions: 

C 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. So, user defined functions are functions created and developed by user.

Example: 

Here function01( ) is an user defined function.


main(){

     /* calling user defined function from the main function */

     userFunction();

     }

function userFunction(){
     /* statements */
     }

Must Read: What are the necessities or advantages of user defined functions?

Recommended Recommends

Comments

Contact Us