View Categories

C Basics

12 Chapters

Introduction to C

Last Updated: December 2, 2025

This chapter introduces the C programming language, its historical context, primary uses, and its fundamental position as a compiled language....

Setting Up the Toolchain

Last Updated: December 2, 2025

To write and execute C programs, you need a toolchain, which is a set of programs used to create a...

First Program: Hello World

Last Updated: December 2, 2025

Basics and Local Setup This chapter covers the basic structure of every C program by writing and compiling the traditional...

Compilation Process

Last Updated: December 2, 2025

The process of turning a C source file (.c) into an executable file is handled by the compiler and related...

Data Types and Variables

Last Updated: December 2, 2025

In C, a variable is a named location in memory used to store data. Before using a variable, you must...

Operators and Expressions

Last Updated: December 2, 2025

An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulation. An expression is a...

Input and Output (I/O)

Last Updated: December 2, 2025

Input and Output (I/O) operations are handled by standard library functions located in the <stdio.h> header file. These functions allow...

Conditional Statements

Last Updated: December 2, 2025

Control Flow Control flow refers to the order in which statements are executed in a program. Conditional statements allow the...

Looping Constructs

Last Updated: December 2, 2025

Loops are used to perform a task over and over until a specific condition is met. C provides three core...

Loop Control

Last Updated: December 2, 2025

Loop control statements change the normal sequential execution of loops, giving the programmer precise control over when a loop terminates...

Defining and Calling Functions

Last Updated: December 2, 2025

Functions are the primary way C programs are structured. A function is a block of organized, reusable code that performs...

Scope and Storage Classes

Last Updated: December 2, 2025

In C, two concepts govern where a variable can be accessed (scope) and how long it exists in memory (lifetime):...

Scroll to Top