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?

Author: Tanmay Chakrabarty

Tanmay Chakrabarty is a former CSE student, currently working as a Senior Software Engineer with 5+ years of experience in the field of Web Application development in PHP+MySQL platform with strong skills in Javascript, JQuery, JQuery UI and CSS. He tries to write notes every week but fails due to heavy loads of duty.

Recommended Recommends

Comments

Contact Us