C Tutorial


C is a programming language developed at AT & T’s Bell Laboratories of the USA in 1972. It was designed and written by Dennis Ritchie and Ken Thompson.


Absolutely no prior knowledge is required to learn C programming. Each topic has many lessons and examples that you can practice and learn.

The first step in learning C programming is to install a C compiler for practice. Learning programming is all about practice coding. The more you practice, the more you will learn.

C Tutorial Topics

List of C programming lessons given below. Learn in top to bottom order.

Recommended Books

Sometimes it is difficult for a self-learner to master programming without proper guidance. As a learner you are totally confused how to begin learning, it happens to most of us.


Lectures are good, but always forgotten when you are out of classroom or when you have finished watching videos. So, all you need is to slowly understand and absorb the concepts and workout examples of each topic in C programming yourself.

Books are your best friend when you are learning by yourself.

Here we recommend few books to get started with C programming language.


C Programming Language, 2nd Edition 2nd Edition

The authors present the complete guide to ANSI standard C language programming. Written by the developers of C, this new version helps readers keep up with the finalized ANSI standard for C while showing how to take advantage of C’s rich set of operators, economy of expression, improved control flow, and data structures. The 2/E has been completely rewritten with additional examples and problem sets to clarify the implementation of difficult language constructs. For years, C programmers have let K&R guide them to building well-structured and efficient programs. Now this same help is available to those working with ANSI compilers. Includes detailed coverage of the C language plus the official C language reference manual for at-a-glance help with syntax notation, declarations, ANSI changes, scope rules, and the list goes on and on.


Effective C: An Introduction to Professional C Programming

A detailed introduction to the C programming language for experienced programmers.

The world runs on code written in the C programming language, yet most schools begin the curriculum with Python or Java. Effective C bridges this gap and brings C into the modern era–covering the modern C17

You’ll learn:

  • How to identify and handle undefined behavior in a C program
  • The range and representations of integers and floating-point values
  • How dynamic memory allocation works and how to use nonstandard functions
  • How to use character encodings and types
  • How to perform I/O with terminals and filesystems using C Standard streams and POSIX file descriptors
  • How to understand the C compiler’s translation phases and the role of the preprocessor
  • How to test, debug, and analyze C programs

Effective C will teach you how to write professional, secure, and portable C code that will stand the test of time and help strengthen the foundation of the computing world.

Note that these are affiliate link to another site and if you get these books, we earn a small commission.