LearnFrenzy
Sign in Take a free test

Tutorial · 35 lessons

C Programming Tutorial

Learn C programming step by step: variables, operators, loops, functions, arrays, strings, pointers, memory, structures and files, with programs you can run.

  • Free
  • 12 chapters
  • 2h 43m of reading
Chapters
12
Lessons
35
Reading time
2h 43m
Level
All levels

Curriculum

What's inside this course

Read the chapters in order, or open any lesson. Completed lessons are ticked.

  1. 01 Introduction to C3 lessons · 12m
    1. What Is C Programming? 4 min
    2. Install a C Compiler and Write Hello World 4 min
    3. How a C Program Is Compiled and Run 4 min
  2. 02 Variables, Data Types and I/O3 lessons · 14m
    1. Variables and Data Types in C 5 min
    2. Constants, Literals and Keywords in C 4 min
    3. printf and scanf: Input and Output in C 5 min
  3. 03 Operators and Expressions3 lessons · 14m
    1. Operators in C 5 min
    2. Bitwise Operators in C 4 min
    3. Operator Precedence and Type Conversion in C 5 min
  4. 04 Control Flow: Decisions and Loops3 lessons · 15m
    1. if, else and switch in C 5 min
    2. Loops in C: for, while and do-while 5 min
    3. Pattern Programs in C 5 min
  5. 05 Functions and Recursion3 lessons · 13m
    1. Functions in C 4 min
    2. Recursion in C 5 min
    3. Scope and Storage Classes in C 4 min
  6. 06 Arrays3 lessons · 14m
    1. Arrays in C 5 min
    2. 2D Arrays and Matrices in C 4 min
    3. Searching and Sorting Arrays in C 5 min
  7. 07 Strings3 lessons · 15m
    1. Strings in C 5 min
    2. String Functions in C (string.h) 5 min
    3. String Programs in C for Practice 5 min
  8. 08 Pointers3 lessons · 15m
    1. Pointers in C Explained 5 min
    2. Pointers and Arrays, Pointer Arithmetic 5 min
    3. Advanced Pointers: Double, const, void and Function Pointers 5 min
  9. 09 Dynamic Memory Allocation3 lessons · 13m
    1. malloc, calloc and free in C 4 min
    2. realloc and Growable Arrays in C 4 min
    3. Memory Leaks, Dangling Pointers and Linked Lists 5 min
  10. 10 Structures, Unions and Enums3 lessons · 14m
    1. Structures in C 4 min
    2. Arrays of Structures and Pointers to Structures 5 min
    3. Unions, Enums and Bit Fields in C 5 min
  11. 11 File Handling2 lessons · 10m
    1. File Handling in C: Text Files 5 min
    2. Binary Files and Random Access in C 5 min
  12. 12 Preprocessor, Projects and Interviews3 lessons · 14m
    1. C Preprocessor and Macros 4 min
    2. Command-Line Arguments and Multi-File Programs 4 min
    3. C Interview Questions and Output Puzzles 6 min

Preparing with friends?

Share this page with your study group or placement batch.

Search LearnFrenzy

Esc

Quick links