Difference between UDF ( User Defined Function ) & Inbuilt Function ( Library Function )
In : BCA Subject : OOPS and Data StructuresLibrary functions and user-defined functions are the two types of functions available in C. An example of a user-defined function is main. The library functions printf and scanf are included in this category.
The major difference between user-defined and library functions is that the former do not have to be written by the user, whilst the latter must be produced by the user while building the programed. The user-defined function, on the other hand, can be included in the C programme library.