Function Types


A function is a self-contained block of statements that perform coherent task of some kind. Every C program can be thought of as a collection of these functions.
We have 2 types of functions

  1. Standard library functions
  2. User-defined functions

Standard Library functions

The functions which are in-built with the C compiler are called standard library functions.
Ex: printf( ), scanf( ),sqrt( ), pow();