The C programming language is a popular language in industries as well as academics. Since its invention and standardized as ANSI C, several other standards known as C99, C11, and C17 were published with new features in subsequent years. This book covers all the traits of ANSI C and includes new features present in other standards. The content of this book helps a beginner to learn the fundamental concept of the C language. The book contains a step-by-step explanation of every program that allows a learner to understand the syntax and builds a foundation to write similar programs. The explanation clarity, exercises, and illustrations present in this book make it a complete textbook in all aspects.


  • Other than ANSI C, the book explains the new C standards like C99, C11, and C17.
  • Most basic and easy-to-follow programs are chosen to explain the concepts and their syntax.
  • More emphasis is given to the topics like Functions, Pointers, and Structures.
  • Recursion is emphasized with numerous programming examples and diagrams.
  • A separate chapter on the command-line argument and preprocessors is included that concisely explains their usage.
  • Several real-life figures are taken to explain the concepts of dynamic memory allocation, file handling, and the difference between structure and union.
  • The book contains more than 260 illustrations, more than 200 programs, and exercises at the end of each chapter.

This book serves as a textbook for UG/PG courses in science and engineering. The researcher, postgraduate engineers, and embedded software developers can also keep this book as reference material for their fundamental learning.

chapter 1|16 pages

Introduction to the Computer

chapter 2|22 pages

Number Systems

chapter 4|15 pages

Introduction to C Programming

chapter 5|18 pages

Constants, Variables, and Data Types

chapter 6|27 pages

Operators and Expressions

chapter 7|17 pages

Basic Input/Output

chapter 8|38 pages

Control Structures

chapter 9|34 pages


chapter 10|46 pages

Arrays and Strings

chapter 11|46 pages


chapter 12|44 pages

Structures and Unions

chapter 13|15 pages

Dynamic Memory Allocation

chapter 14|23 pages

File Handling

chapter 15|14 pages

The Preprocessor

chapter 16|12 pages

Command Line Arguments