Table of Contents
show
Built-in functions (string functions, math functions)
Library Functions or pre-defined functions are the functions whose functionality has already been developed by someone and are available to the user for use.
Example
printf and scanf
Two aspects of working with library functions:
- Declaration of library function
- Use of library function
Declaration of library function
- A library function needs to be declared before it is called
- The declaration of library functions are available in respective header files
- To makes these declarations accessible in a program file, the corresponding header files are included
Use of Library Functions
Library functions are used in the same way as user defined functions, i.e. by using a function call operator
Some of the common library functions are listed as:
- Library of mathematical functions
- Library of standard input / output functions
- Library of string processing functions
Library of mathematical functions
Library of string functions
Views: 0