C Standard Library

C - Standard Library Tutorial

C is a procedural and general-purpose programming language created by Dennis Ritchie in 1972 at the Bell Telephone Laboratories. It was invented to write UNIX operating system. C is the most widely used computer language. The main features of C language include low-level access to memory, easy to learn and modular structure which makes code debugging, maintenance, and testing easier. These features make C language suitable for system programmings like an operating system or compiler development. There are various header files in C and vary depending on different compiler implementations.

About Tutorial

This tutorial is intended for students and professionals interested in studying basic and advanced concepts of C standard Library. This tutorial covers C built-in functions and standard library. The C standard library contains declaration, syntax, functions and macros of respective header file of the library. We believe in learning by examples therefore each and every topic is explained with lots of examples that makes you learn the topic in a very easy way. Along with this, almost all examples can be executed online which provides better understanding of libraries and helps you to learn the concept faster. The classical example of printing "Hello World" using <stdio.h> is mentioned below for the illustration purpose.

#include <stdio.h>
int main (){
  char str[50] = "Hello World!";

  //prints str
  return 0;

The output of the above code will be:

Hello World!


Before continuing with this tutorial, you should have basic understanding of C programming language. This section contains various types of examples which are used for reference and requires basic understanding of C language.