Types Of Function:
There are 2 types of functions are present .
- Predefined function [Build in function]
- User Defined Function
What is pre-defined function ?
- Those functions which are already available in c language such type of functions are known as predefined function .
- Predefined function means we can call those functions directly .
- EX:- printf() , scanf() , sqrt() , calloc() , malloc() , etcÂ
What is user defined function ?
- Those functions which are created by the user such type of functions are known as predefined function .
- We can not call userdefined functions directly , first we have to create the function then we can use them .
- EX:- fun() , call() , sub() , x() , y() , etcÂ
Types of userdefined functions:
There are 4 types of userdefined functions are available .
- No argument no returntype(NANR)
- No argument with returntype(NAWR)
- With argument no returntype(WANR)
- With argument with returntype(WAWR)