
Discover the basic structure of a c program, including header files, the main function, and standard input-output setup.
Explore how a C program moves from source code to execution, detailing the roles of the editor, preprocessor, compiler, assembler, and linker, and how binary machine code runs on hardware.
Write your first C program using an online compiler, print a hello world string with printf, and learn about strings and the necessity of semicolons.
Discover variables as containers for values and learn C data types such as int, float, double, and char, then practice declaration and initialization and enforce type-compatible assignments.
Explore format specifiers and escape sequences in C, learn how printf substitutes variables, display memory addresses and values, and use newline and backslash escapes to format output.
Learn how printf handles multiple arguments and substitution via format specifiers, and why missing or mismatched arguments yield garbage values, with notes on first-argument execution and truncation.
Explore C programming operators, including arithmetic, logical, and relational operators, and learn how increment and decrement operators modify values in expressions.
Explore basic arithmetic operations in C by declaring variables, assigning values, and printing results, including addition and division of numbers.
Explore how logical operators on two operands distinguish zero as false and non-zero as true, including and not operations and relational equality with equal to.
Explore pre-increment and post-increment operators (and pre-decrement and post-decrement) in C, comparing their effects on variables and understanding evaluation order and assignments with practical examples.
Master assignment operators in C, from simple assignment to plus equals, minus equals, divide equals, and multiply equals, understanding how the operation updates the left-hand side variable.
Explore relational operators in C, including less than, greater than, equal to, and not equal to, and how true maps to 1 while false maps to 0.
Explore the comma operator in C, illustrating how it evaluates expressions left to right and discards earlier values. Learn how this separator helps evaluate statements and works with functions.
Discover how precedence and associativity determine expression evaluation in C, using examples of multiplication, division, and addition, with parentheses taking priority and left-to-right evaluation for arithmetic and assignment operators.
Learn how to swap two numbers in C using a temporary variable to safeguard values, then assign the saved value to complete the swap between a and b.
Master the swap algorithm in C by exchanging two variables with a temporary value, demonstrated with a 5 and 10 example, and apply this technique in later sections.
Explore preprocessor directives and macros, using define to substitute 3.14 for pi before compilation, and compute a circle's area from a given radius.
Evaluate whether the expression 0.1 + 0.2 == 0.3 is true or false in C programming, as part of a trivia question guiding you to the next video.
Explore how floating point numbers are stored in memory, why decimals like 0.1, 0.2, and 0.3 aren't exact in binary, and how this affects equality in C.
Explore how C data types vary by size across 16-bit and 32-bit compilers, covering signed and unsigned integers, characters, and floating point types like float and double.
Learn getting user input in C with scanf, declare variables, store input via the address of the variable, then print prompts and results.
Learn to code a simple program that adds two numbers by declaring variables X and Y, reading their values with scanf, and printing the result.
Learn how if else statements drive program flow by evaluating conditions with relational operators, executing blocks when true and optional else branches when false.
Explore the else-if ladder in C programming, learning how multiple else-if blocks are evaluated top to bottom, executing the first true block and skipping the rest.
Explore switch cases in C with menu-driven examples and a calculator project, using breaks, default blocks, and case mapping for user choices.
Master the ternary operator in C, a conditional operator using a condition, ? and : to choose between two expressions, enabling compact, single expression assignments and avoiding full if statements.
Learn the concept of loops in C programming, covering for, while, and do-while, and see why loops enable concise code for repeating tasks like printing numbers.
Master the for loop in C programming by learning initialization, condition, and increment steps, plus a practical example that prints 0 to 4 to show loop execution.
Learn to print the squares of numbers from one to ten using a for loop in C, with inline initialization and a clear loop condition.
Define and validate the while loop by setting a condition and incrementing the control variable. Avoid infinite loops by including a proper increment or decrement.
Learn to write a C program that computes the cube of numbers from 0 to 9 using a while loop, printing each result with proper line breaks.
Learn how break and continue statements control loops in C, stopping iterations with break and skipping actions with continue, and see practical examples for using them.
Explore a C trivia challenge: print hello world without using a semicolon, using tricks with language features and program structure to display the output.
Explore a clever C trick that prints hello world without a semicolon by placing the statement inside an if condition, demonstrating how the output occurs without a trailing semicolon.
Explore assignment chaining in C, where multiple assignments in a statement are evaluated right-to-left with type conversions. Learn when chaining applies (during assignment, not declaration) using integers and doubles.
Learn how arrays store a collection of values of similar type, enabling you to hold many values. Access elements via a zero-based index, using a book page analogy.
Learn how to initialize arrays in C, store and retrieve up to 100 elements with zero-based indexing, and update values by assigning to specific indices.
Learn how to read array elements from user input by first obtaining the array size, then using a for loop to scan each element and access them by index.
Learn to reverse an array by scanning elements and printing them from the last index to the first, using a for loop and zero-based indexing.
Explore a tricky left rotation of an array in C, using circular shifting to move each element one position left while preserving all values, with hands-on coding.
Demonstrates how to implement left shift of an array in C using a temporary variable to hold the first element, then shift others and wrap the first to the end.
Initialize high and low, then iterate over the array from left to right, comparing each element and updating max and min accordingly.
Learn to find the maximum and minimum elements of an array with a simple algorithm. Initialize max and min from the first element and update them during a for loop.
Learn to reverse an array in place without using a second array by swapping the first and last elements and then moving two indices from ends toward the center.
Learn to reverse an array by swapping symmetric elements from the ends toward the middle, using a temporary variable and a loop, and print the reversed values.
Learn how to declare, initialize, and access two dimensional arrays in C, treating them as matrices with rows and columns, and perform basic operations using user input.
Explore nested for loops in C programming, including the two dimensional idea, showing how an inner loop runs inside an outer loop and how i and j drive multiple iterations.
Learn to create and print a two-dimensional matrix in C using nested for loops, input elements from the user, and display each row on a new line.
Explore trivia on swapping two variables in C without a temporary variable, contrasting with the traditional method that uses a temporary variable.
Master swapping two variables in C without a temporary variable using a three-step arithmetic method, shown with 10 and 5.
Explore how to define and declare a function in C, return types, and how a main function calls functions to perform tasks with inputs and outputs.
Write a simple function in C and call it from main; discover that a function executes only when invoked, and learn you can call it multiple times, with inputs later.
Learn how to pass inputs to a C function by using actual arguments and dummy arguments, then return the sum of two numbers with a simple example.
Learn how strings in C are stored as arrays of characters and initialized with double-quoted literals; strings end with a terminator symbol, and name[0] accesses the first character.
Explore inbuilt string functions in C, learn to determine string length, concatenate two strings, compare for equality, and reverse strings using your own for loop algorithm.
Find the character that occurs most often in a string by looping through each position, counting matches, and tracking the maximum count and its index.
Explains the scope and lifetime of variables in C, contrasting local variables with global variables, and shows how global scope spans the whole program while locals stay in a function.
Study local variables, scope, and lifetime in C. Analyze variable declarations and reuse inside and outside blocks to predict the print output.
Explore block scope and local variables in C as the video shows how redeclaring inside a block creates a block-specific value while the outer variable retains its original value.
Explore how pointers in C store addresses of other variables, how to obtain and use those addresses, and how dereferencing retrieves the stored values.
Learn how to declare a pointer variable in C and how a pointer stores the memory address of another variable, enabling address referencing in code.
Learn how to declare and use pointers in C, understand the difference between an address and the value it holds, and how dereferencing with the * operator retrieves the value.
Learn how to add two numbers using pointers and the value-at operator. Declare pointer variables, access addresses, and dereference to perform the sum.
Explore the types of pointers, including null pointers and wide pointers, and how they hold addresses of different variable types. Learn about initialization, uninitialized and dangling pointers.
Explore how arrays store elements sequentially in memory and how the array name binds to the first element. Grasp pointer incrementing, navigating addresses by moving the pointer, not the value.
Explore using pointers to functions to pass arguments by reference, avoiding copies, and pass addresses to swap values so the original x and y are updated by the function.
Explore structures in C to store biodata with name, height, and mobile number as user defined data. Define structs outside main and access members with the dot operator.
Define a structure in C with data members like name, height, and mobile, access them via the dot operator, and initialize or copy values into struct instances.
Compare unions and structures in C: structures allocate memory per member, unions share one memory block, the largest member; only one member holds a value at a time.
Understand dynamic memory allocation in C using malloc to allocate memory at runtime, and determine memory sizes with the size of operator, using pointers.
Create a dynamic array with malloc by allocating memory based on user-specified size, then store elements sequentially via a base pointer and print them.
Examine calloc and malloc as dynamic memory allocation functions: calloc allocates memory and initializes values to zero, while malloc allocates memory; use free to release it.
Hey there!
I welcome you all to my course - The Complete C Programming : From Scratch to Advanced.
This course will give you all the contents and stuffs in order to make yourself comfortable and confident in C Programming if you're a beginner.
The tricky concepts of C like Pointers, Structures, Unions, Array Pointers etc. are neatly explained. You can master these concepts easily.
There are many trivia questions asked and solutions are provided for the same. These will provide an in-depth understanding how it works.
Some hard and tricky problems in arrays and strings are solved. Firstly, the algorithms have been explained and then the C code.
Practice materials and all the source codes are provided as well.
Sections:
1. The Basic Structure
2. Operators and Expressions
3. Conditional Statements and Loops.
4. 1 D Arrays
5. 2 D Arrays
6. Functions
7. Strings.
8. Pointers
9. Structures and Unions
10. Dynamic Memory Allocation
and so on.
Problem sheets are provided for your practice. There are 6 problem sheets whose questions will test all the concepts that have been discussed in the class. Each Problem sheet will 10-15 mixed level of questions. You can try in your free time. A few questions are solved in the course content so that beginners may get an idea on how to approach the problem and solve it using C.
Types of Pointers, Basic differences b/w null pointer, void pointer, Pointer to an array, Pointers passed through functions, the concept of how contents are stored in addresses are all explained.