
Already know some of this? A 2-minute test skips the lessons you know.
Take the placement testA free 49-lesson course built from Apna College's 10h 32m of YouTube video. 7 days at 90 minutes a day, with study notes and a quiz in every lesson. A 2-minute placement test skips what you already know.
Taught by Apna College on YouTube. Videos play in YouTube's own player, so the creator keeps every view.
Install VS Code editor and GCC compiler, then configure the MinGW bin path in system environment variables to run C programs.
Create a C file in VS Code, write the Hello World program, compile with gcc, and run the executable to understand the basic compilation workflow.
Learn variable definition, naming rules, data types (int, float, char), memory sizes, constants, keywords, and the basic structure of a C program including headers, main function, and return statement.
Write single-line and multi-line comments, use printf for output with format specifiers (%d, %f, %c), and use escape sequences like %n for new lines.
Use scanf with address-of operator (&) to read user input into variables, and understand format specifiers for int, float, and char types.
Cover arithmetic operators (+, -, *, /, %), operator precedence, associativity, increment/decrement operators, compound assignment operators, and practice expression evaluation.
Implement decision control instructions using if, else if, and else blocks with curly braces, and understand flow control with relational and logical operators.
Use switch-case for multi-way branching with break statements, and apply the ternary operator for concise conditional assignments.
Solve practice problems: check even/odd using modulus, assign grades with if-else ladder, calculate factorial with loops, and print multiplication tables.
Master for, while, and do-while loops with initialization, condition, update; use break to exit loops and continue to skip iterations; practice nested loops and reverse printing.
Define functions with prototypes, definitions, and calls; understand call by value vs call by reference using pointers; implement recursion with base cases for factorial and Fibonacci.
Declare pointers with *, use & for address and * for value-at-address; perform pointer arithmetic (increment/decrement by data type size); create pointer-to-pointer chains.
Declare and initialize 1D and 2D arrays; calculate memory consumption; pass arrays to functions (decay to pointer); implement matrix storage and table printing.
Define strings as null-terminated char arrays; use %s, gets, fgets, puts, fputs for I/O; understand string vs char pointer mutability; use strlen, strcpy, strcat, strcmp.
Define user-defined data types with struct to group dissimilar data; create struct variables, initialize in one line; use dot and arrow operators; pass structs to functions.
Open files in modes (r, w, a, rb, wb); read/write formatted data with fscanf/fprintf; check file existence via NULL pointer; practice reading ints and writing student records.
Allocate memory at runtime using malloc/calloc; resize with realloc; release with free; understand heap vs stack allocation and prevent memory leaks.