C Programming

The language under every operating system. Learn memory, pointers and how a computer really runs your code.

Beginner9 modules34 lessonsFree · no sign-up
0 of 34 lessons published
View syllabus

Syllabus

01 Getting StartedWhat C is and how a C program becomes an executable. 4 lessons
  1. 1.1What is C and where is it used?Coming soon
  2. 1.2How a C program is compiled and linkedComing soon
  3. 1.3Setting up GCC and your first programComing soon
  4. 1.4Structure of a C programComing soon
02 BasicsVariables, data types, operators and input/output. 5 lessons
  1. 2.1Variables and constantsComing soon
  2. 2.2Data types and their sizes in memoryComing soon
  3. 2.3Operators and precedenceComing soon
  4. 2.4printf and scanfComing soon
  5. 2.5Type conversionComing soon
03 Control FlowDecisions and loops. 4 lessons
  1. 3.1if, else-if and nested ifComing soon
  2. 3.2switch caseComing soon
  3. 3.3for, while and do-while loopsComing soon
  4. 3.4break, continue and gotoComing soon
04 FunctionsSplitting programs into functions. 4 lessons
  1. 4.1Defining and calling functionsComing soon
  2. 4.2Call by value vs call by referenceComing soon
  3. 4.3Recursion and the call stackComing soon
  4. 4.4Storage classes: auto, static, extern, registerComing soon
05 Arrays and StringsWorking with collections and text. 3 lessons
  1. 5.1One-dimensional arraysComing soon
  2. 5.2Multi-dimensional arraysComing soon
  3. 5.3Strings and string functionsComing soon
06 PointersThe most powerful (and feared) part of C. 5 lessons
  1. 6.1What is a pointer?Coming soon
  2. 6.2Pointer arithmeticComing soon
  3. 6.3Pointers and arraysComing soon
  4. 6.4Pointer to pointerComing soon
  5. 6.5Function pointersComing soon
07 Dynamic MemoryAsking the OS for memory at runtime. 3 lessons
  1. 7.1Stack vs heap in CComing soon
  2. 7.2malloc, calloc, realloc and freeComing soon
  3. 7.3Memory leaks and dangling pointersComing soon
08 Structures and UnionsGrouping related data. 3 lessons
  1. 8.1StructuresComing soon
  2. 8.2UnionsComing soon
  3. 8.3Enums and typedefComing soon
09 File Handling and PreprocessorFiles, macros and multi-file programs. 3 lessons
  1. 9.1Reading and writing filesComing soon
  2. 9.2Preprocessor directives and macrosComing soon
  3. 9.3Header files and multi-file programsComing soon