What is user defined functions?

Author: Tanmay Chakrabarty

First Published On: Monday, April 13, 2015 at 1:12 PM
About:

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

Comments

Contact Us

Author