Functions -: Function is used to divide the programs means to divide your logics into parts and define each logic into appropriate parts.
User-Defined Functions -: Those functions are defined by the user according to their needs or logic.
Examples -: 1. Inbuilt Function -: Take an example of inbuilt function 'printf' in C programming language that is used to print. Example 'printf' is the inbuilt function in a C programming language .
To define a User-Defined
Functions in C are -:
return_type
function _name(parameter list) {
//statement
}
I hope you can understand easily if you can understand easily then follow and subscribe to my blogs and share them. Otherwise, you don't follow and subscribe to my blogs.
No comments