FoundationsBeginner

C Programming

Systems programming foundations

Master C from first principles — syntax, operators, arrays, strings, pointers, structures, dynamic memory and file handling — with structured practice on the Atom Code portal.

22 modules45-hr track80% hands-on2 projects
Curriculum

22 modules, 45 hrs of hands-on learning

Every module pairs a focused topic with a guided practical exercise — learn it, build it, then practice it on the Atom Code portal in the same session.

Module 01 · 1.5 hrs

Start here

Introduction to C Programming

History, features and applications of C, role of C in system programming, compiling and running C programs.

Module 02 · 2.5 hrs

Hands-on session

Basic Syntax and Structure

Main function, header files, printf/scanf, comments and code formatting guidelines.

Module 03 · 3.5 hrs

Hands-on session

Data Types, Variables, and Constants

int, float, char, bool, constants, variables, scope and lifetime of variables.

Module 04 · 1.5 hrs

Hands-on session

Operators

Arithmetic, relational, logical, bitwise, assignment, increment/decrement, ternary, sizeof, pointer and special operators, precedence and associativity.

Module 05 · 3 hrs

Hands-on session

Control Flow (if-else, switch)

if-else statements, switch-case, continue, break and nested control structures.

Module 06 · 1.5 hrs

Hands-on session

Looping Statements

for, while and do-while loops with nested control structures.

Module 07 · 2.5 hrs

Hands-on session

Functions and Modular Programming

Function declaration and definition, passing parameters, modular program design.

Module 08 · 2.5 hrs

Hands-on session

Recursion and Inline Functions

Implement recursion and inline functions with classic patterns.

Module 09 · 1.5 hrs

Hands-on session

1D Arrays

Declare and define arrays, handling arrays and traversal.

Module 10 · 1.5 hrs

Hands-on session

2D Arrays

Declare and define 2D arrays, matrix manipulation.

Module 11 · 1.5 hrs

Hands-on session

Strings

String functions and string manipulation.

Module 12 · 1.5 hrs

Hands-on session

Array Pattern

Pattern manipulation using arrays.

Module 13 · 1.5 hrs

Hands-on session

String Manipulation

Pattern manipulation using strings.

Module 14 · 2.5 hrs

Hands-on session

Pointers and Memory Management

Pointer basics, pointer arithmetic, arrays with pointers, null pointers.

Module 15 · 2.5 hrs

Hands-on session

Structures and Unions

Defining structures and unions, nested structures, passing structures to functions.

Module 16 · 1.5 hrs

Hands-on session

Preprocessor Directives

Macros, #define, #include, conditional compilation (#ifdef, #ifndef).

Module 17 · 2 hrs

Hands-on session

Dynamic Memory Allocation

malloc, calloc, realloc, free, memory leaks, handling large data structures.

Module 18 · 1.5 hrs

Hands-on session

Bitwise Operations

Bit manipulation, bitwise AND/OR/XOR and shifting operations.

Module 19 · 1.5 hrs

Hands-on session

Command-Line Arguments

Using argc and argv, parsing command-line arguments, real-world use cases.

Module 20 · 1.5 hrs

Hands-on session

Error Handling

Understanding errors, handling standard I/O errors, exit codes and debugging.

Module 21 · 4 hrs

Hands-on session

Advanced Topics (Enumerations, Typedef)

Enums and typedefs, best practices for large-scale programs.

Module 22 · 2 hrs

Hands-on session

File Handling in C

Reading from and writing to files, modes (r, w, a), error handling in file operations.

More in Foundations

View all