
Gain a strong foundation in C programming from scratch with hands-on practice, covering variables, operators, input/output, conditions, loops, arrays, pointers, memory allocation, strings, functions, and structures.
Learn the basics of C programming by writing a hello world program, declaring variables, and mastering operators, with hands-on guidance on compiling and running code using gcc and dev-c++.
Explore how variables are declared and stored in memory in C, covering integer, float, and character types, along with signed and unsigned variants and basic initialization rules.
Explore assignment operators in C, including = for value assignment, copying values between variables, and compound operators like +=, -=, /=, *=, %=, plus pre- and post-increment and decrement.
Explore arithmetic operators in C, including plus operator, minus operator, asterisk operator, slash operator, and modulo operator for integers and floats; learn operator precedence and implicit conversions.
Explore relational operators in c, covering six comparison operators (less than, less than or equal, greater than, greater than or equal, equal, not equal), truth values, and precedence.
Explore how and, or, and not work in C, learn truth values for nonzero as true, zero as false, and master operator precedence across arithmetic, comparison, and logical expressions.
Master the basics of bitwise operators in C by learning not, and, or, xor, and shift operations, alongside two's complement representation and operator precedence.
Master additional C operators: cast, the conditional operator, comma, and sizeof, and learn operator precedence through practical examples converting int to float and measuring size.
Explore how input and output functions power C programs, using printf and scanf for display and input, and putchar and getchar for character input and output.
Learn to use the printf function to display text and variables, format numbers with precision, escape characters, and combine messages in a single call from stdio.h.
Demonstrates using scanf to read integers, floats, and characters with format specifiers and addresses, while printf prompts guide input for date (day month year) and time (hours:minutes).
Explore how the scanf function reports input success by checking its return value, and see how it reads integers, floats, and chars, stopping at the first invalid input or newline.
Explore putchar and getchar in C to display and read a single character, offering simple alternatives to printf and scanf, with practical examples using char variables.
Learn how to manage buffer memory in C by using scanf and getchar, and clear leftovers with flush stdin or consume characters up to the newline characters.
Practice using getchar, putchar, and fflush to read and display characters, observe input buffers with newlines, and resolve leftovers with getchar or fflush; examples include M, percent, exclamation, and hello.
Explore basic arithmetic in C by computing sum, difference, product, quotient, and remainder with integers and decimals, and learn typecasting, printf formatting for two decimals, and printing the percent symbol.
Explore expressions and conditions in C, from simple and compound conditions to assignment vs comparison, master operators, if, if else, else if, nested statements, and switch with examples.
Learn the if statement in c: its syntax with parentheses and braces, evaluate expressions as true or false, handle compound conditions with and/or, apply it to values and water state.
Learn to use the if else statement to execute code blocks based on conditions, compare values, check even or odd numbers, and test multiples of five.
Explain how if else if makes conditional checks efficient in C by skipping remaining conditions once a true one is found, improving readability over multiple independent if statements.
Master nested conditions in C by evaluating each condition only if prior ones are true, using the logical and operator and a temperature example with solid, liquid, and gas outcomes.
Learn how to replace long if-else chains with a switch statement that tests a variable against constants using cases, breaks, and a default, illustrated by a day-of-week example.
build a simple c calculator using a switch and a menu for add, subtract, multiply, and divide; fix input buffer with getchar loops and print results to two decimals.
Explore the for loop, while loop, and do while loop with syntax and practical examples, and learn to convert between loop types using break, continue, and goto.
Explore the for loop in C and master initialization, condition, and increment. See how it repeats a statement, enabling concise examples from 1 to 10 or 10 to 1.
Explore how to use the for loop in C to print a message multiple times, counting from 1 to 10 and from 0 to 9, with increment and decrement options.
Show how to use a for loop in C to display numbers between two values. Filter even numbers, odd numbers, and multiples of five by adjusting the increment and condition.
Explore for loop usage in C by computing ten factorial and the sum from one to ten. Initialize counters and accumulators, perform multiplication or addition, and print results.
Master the while loop in C by learning its syntax, condition checks, and how it repeats a statement block for input validation until the condition becomes false.
Demonstrates input validation for positive integers using a while loop before factorial calculation, initializes n to ensure the loop runs, and uses a for loop for the final result.
Initialize a grade variable and use a while loop to validate user input, repeatedly prompting until the value falls between 0 and 20, then display the valid grade.
Explore the do while loop in C, executing the block before evaluating the condition and ensuring at least one input, with comparisons to while loops and practical scanf-based examples.
Demonstrates input validation in C using a do while loop to ensure users enter a valid integer or float with scanf, re-prompting and clearing the input buffer when invalid.
Master C loop conversions by turning for loops into while loops and vice versa using initialization, condition, and update expressions. Practice optimization by moving initialization into the for's first expression.
Explore how the continue statement skips the remainder of a loop iteration, jumping to the next cycle, illustrated with a for loop printing 1–20 and filtering numbers.
Explore how the continue statement interrupts a loop and immediately jumps to the next iteration. The examples skip even numbers and multiples of five, printing only chosen values.
Explore the goto statement in C as a form of conditional branching that jumps to a labeled point, with examples of repeated prompts and square root calculation.
Master a mini-project in C: a guess the number game that uses a while loop, a random number between 1 and 100, and a score that decreases with each attempt.
Get an overview of the entire arrays section, including topics covered, learning goals, and how the lessons progress from basics to advanced array operations.
Discover what arrays are, why they’re useful, and how to declare and initialize them in C.
Learn how to assign values to array elements manually or using loops.
Practice reading user input into arrays and displaying elements efficiently.
Learn how to search for a value in an array using simple traversal techniques.
Find the largest and smallest values in an array through element comparison.
Compute the total and average of array elements using loops.
Count how many times a specific value appears in an array.
Sort an array by repeatedly selecting the smallest element and placing it correctly.
Sort elements by comparing and swapping adjacent values until the array is ordered.
Insert each element into its correct position to incrementally sort the array.
Learn how to declare, visualize, and access elements in a 2D array.
Use nested loops to read and print matrix values clearly and efficiently.
Add two matrices element by element using nested loops to produce a result matrix.
A clear overview of what you’ll learn about pointers in this section.
Get a structured roadmap to understand how each session builds your pointer skills step by step.
Understand what pointers really are and why they’re essential in C programming.
This lesson lays the foundation with simple explanations and intuitive examples.
Learn how pointer arithmetic works and how it helps you navigate memory efficiently.
Covers incrementing, decrementing, and pointer relationships with arrays.
Here, we look at a one-dimensional array used as a static pointer.
This session explores how static pointers behave and how storage duration influences pointer values and memory layout.
Here, we focus on two-dimensional arrays as static pointers.
This section continues the exploration of static pointer behavior through additional scenarios and reinforces your understanding with more advanced examples.
Discover how malloc() works and how to dynamically allocate memory safely.
You’ll learn best practices and typical pitfalls when using manual memory management.
Learn the differences between malloc() and calloc(), and when to use each.
The section covers zero-initialization, memory efficiency, and common usage patterns.
Master dynamic memory resizing with realloc() and strengthen your debugging with assert().
Gain insight into safe usage and real-world programming scenarios.
This lecture presents the learning objectives and structure of the string section.
In this lecture, you will learn what strings are in C, and how they are represented using character arrays and null terminators. We also discuss common pitfalls beginners face when working with strings.
This lecture focuses on reading and writing strings in C. You will learn how to safely use input and output functions such as scanf, printf, gets, and puts along with best practices to avoid buffer overflows.
In this lecture, you will discover how to use sscanf and sprintf to parse and format strings. These functions allow you to extract data from strings and build formatted strings dynamically, which is extremely useful in real applications.
This lecture explains how to determine the length of a string using the strlen function. You will learn how it works internally, common mistakes, and how string length affects memory and performance in C programs.
In this lecture, you will learn how to combine strings using strcat and strncat. We discuss memory requirements, safe usage, and how to prevent buffer overflows when concatenating strings.
This lecture introduces string comparison functions such as strcmp and stricmp. You will learn how lexicographical comparison works, how return values should be interpreted, and when to use case-sensitive versus case-insensitive comparisons.
In this lecture, you will learn how to compare only a specific number of characters using strncmp and strnicmp. These functions are especially useful for prefixes, command parsing, and input validation.
This lecture explains how to copy strings using strcpy and strncpy. We cover the differences between the two functions, common errors, and how to ensure that copied strings are always properly null-terminated.
In this lecture, you will learn how to search within strings using strchr, strrchr, and strstr. You will understand how to find characters and substrings, and how to work with the returned pointers effectively.
This lecture introduces common string conversion functions such as atoi, atof, atol, atoll, itoa, and ltoa. You will learn how to convert strings into numeric values and numeric values into strings, while understanding the limitations, portability issues, and potential risks associated with these functions.
In this lecture, we continue exploring string conversions, focusing on safer and more flexible functions such as strtol, strtod, and related variants. You will learn how to handle errors and validate input properly.
This lecture explains how to work with arrays of strings in C. You will learn how to declare, initialize, and manipulate multiple strings, which is essential for handling lists of names, commands, or text data.
This lecture presents the objectives and roadmap of the functions section. You will learn what topics will be covered, how functions improve code structure, and how these concepts fit into larger C programs.
In this lecture, you will be introduced to the concept of functions in C. You will learn why functions are used, how they help organize code, and how they contribute to maintainable and efficient programs.
This lecture explains how to define functions and how to call them from your program. You will learn about function prototypes, function bodies, and the execution flow when functions are invoked.
In this lecture, you will learn how parameters are passed to functions in C. We cover pass-by-value and pass-by-reference, explain how arguments are copied or referenced in memory, and discuss how to design clear and effective function interfaces.
This lecture focuses on return values in C functions. You will learn how to return data from a function, handle multiple return scenarios, and understand how return types affect function behavior.
This lecture introduces recursion in C. You will learn what recursive functions are, how they work, and how to identify base cases and recursive calls through a practical example, including the factorial function.
You will learn what recursive functions are, how they operate, and how to identify base cases and recursive calls through a practical example, including the greatest common divisor (GCD) function.
You will learn what recursive functions are, how they operate, and how to identify base cases and recursive calls through a practical example, including a mathematical sequence function.
This video explains how to read array values using a function and display array elements using another function. You will learn how functions help organize code and make array operations reusable and clear.
In this video, you will learn how to calculate the sum of all array elements using a function. The lesson shows how to pass arrays to functions and return the computed result.
This video focuses on extracting elements from an array using a function. You will learn how to filter and keep only positive values by combining functions, conditions, and loops.
In this video, you will learn how to sort an array by implementing a sorting function. The lesson explains the sorting logic step by step and how to organize array elements in ascending or descending order.
This course is designed for anyone who wants to learn C programming from scratch and confidently progress to advanced concepts. Whether you’re a complete beginner, a student, or a professional looking to strengthen your programming skills, this course provides a clear, structured, and hands-on learning path.
You’ll start with the fundamentals of C, including variables, operators, and basic program structure. You’ll then learn input/output operations, allowing your programs to interact with users, followed by conditional statements and loops to control program flow and handle repetitive tasks efficiently.
As you move forward, you’ll dive into essential intermediate concepts such as functions, arrays, and strings, learning how to write clean, modular, and reusable code. You’ll gain a strong understanding of pointers, one of the most powerful features of C, and see how they work with arrays, functions, and memory.
The course then covers dynamic memory allocation, teaching you how to manage memory efficiently using malloc, calloc, realloc, and free. You’ll also learn to work with structures and unions to represent complex data, and explore the C preprocessor, including macros, constants, and header files.
At the advanced level, you’ll learn file handling to store and retrieve data from files, and build linked lists to understand dynamic data structures and low-level memory management.
Throughout the course, each topic is explained in a simple and practical way, with real-world examples, coding exercises, and hands-on practice. You’ll write, test, and debug your own programs, developing strong problem-solving and programming skills.
By the end of this course, you will be able to:
Write, read, and debug C programs with confidence
Use arrays, pointers, functions, and structures effectively
Manage memory dynamically and safely
Work with files and implement linked lists
Build a solid foundation for advanced C projects, system programming, and other languages
No prior programming experience is required — just a computer and the motivation to learn. Enroll now and start mastering one of the most influential programming languages in computer science!