
Discover the basic structure of a c program, including header files, the main function, and standard input-output setup.
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.
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.
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.
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.
Learn getting user input in C with scanf, declare variables, store input via the address of the variable, then print prompts and results.
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 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.
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 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.
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 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.
Master swapping two variables in C without a temporary variable using a three-step arithmetic method, shown with 10 and 5.
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.
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.
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 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.
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.
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.
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.