C Programming: The Complete Course
Learn C from scratch: variables, control flow, arrays, strings, pointers, memory, structures and files.
72 lessons≈ 19 hInstructor: Ngahtech AcademyUpdated 22 November 2026
What you will learn
- Write, compile and run C programs
- Use variables, data types, operators, conditions and loops
- Work with arrays, strings and functions
- Understand memory addresses, pointers and dynamic memory
- Model data with structures, unions and enums
- Read and write files and handle errors carefully
A complete, free 72-lesson C course, from your first printf to pointers, dynamic memory and files.
Every lesson explains one topic with clear examples, has a Try it yourself editor that compiles and runs real C with the Clang compiler inside your browser, and ends with exercises and answers. C is the language under operating systems, microcontrollers and many other languages – learning it shows you how computers really work.
Requirements
- No programming experience needed
- A computer or smartphone with a web browser
Curriculum
Module 1: Getting started 6 lessons
- 1. What is C?Free preview 10 min
- 2. Compiling and running C programsFree preview 15 min
- 3. Syntax and program structureFree preview 15 min
- 4. Output with printfFree preview 15 min
- 5. CommentsFree preview 10 min
- 6. VariablesFree preview 15 min
Module 2: Data types 8 lessons
- 7. Format specifiersFree preview 15 min
- 8. Data typesFree preview 15 min
- 9. Characters and ASCIIFree preview 10 min
- 10. Numbers and decimal precisionFree preview 15 min
- 11. sizeof and memory sizeFree preview 10 min
- 12. Type conversionFree preview 15 min
- 13. ConstantsFree preview 10 min
- 14. Fixed-width integers and limitsFree preview 10 min
Module 3: Operators and decisions 7 lessons
- 15. Arithmetic and assignment operatorsFree preview 15 min
- 16. Comparison and logical operatorsFree preview 15 min
- 17. BooleansFree preview 10 min
- 18. if and elseFree preview 15 min
- 19. else if and nested conditionsFree preview 15 min
- 20. The ternary operatorFree preview 10 min
- 21. switchFree preview 15 min
Module 4: Loops 5 lessons
- 22. while loopsFree preview 15 min
- 23. do...while loopsFree preview 10 min
- 24. for loopsFree preview 15 min
- 25. Nested loops and patternsFree preview 15 min
- 26. break and continueFree preview 10 min
Module 5: Arrays and strings 8 lessons
- 27. ArraysFree preview 15 min
- 28. Array size and common algorithmsFree preview 20 min
- 29. Multidimensional arraysFree preview 15 min
- 30. StringsFree preview 15 min
- 31. Special characters and escape sequencesFree preview 10 min
- 32. String functionsFree preview 20 min
- 33. User inputFree preview 20 min
- 34. Practice: text statisticsFree preview 25 min
Module 6: Functions 7 lessons
- 35. FunctionsFree preview 15 min
- 36. Parameters and return valuesFree preview 20 min
- 37. Function declarations and prototypesFree preview 15 min
- 38. Scope and storage classesFree preview 15 min
- 39. RecursionFree preview 15 min
- 40. Math functionsFree preview 10 min
- 41. Inline functions and good function designFree preview 15 min
Module 7: Pointers 7 lessons
- 42. Memory addressesFree preview 10 min
- 43. PointersFree preview 20 min
- 44. Pointers and arraysFree preview 20 min
- 45. Pointer arithmeticFree preview 15 min
- 46. Pointers and functionsFree preview 15 min
- 47. NULL, const and pointers to pointersFree preview 15 min
- 48. Function pointers and qsortFree preview 20 min
Module 8: Memory management 5 lessons
- 49. Dynamic memory with mallocFree preview 20 min
- 50. calloc and freeFree preview 15 min
- 51. realloc and growing arraysFree preview 20 min
- 52. Memory errors and how to avoid themFree preview 15 min
- 53. Practice: a dynamic student listFree preview 25 min
Module 9: Structures, unions and enums 6 lessons
- 54. StructuresFree preview 20 min
- 55. Arrays of structures and nested structuresFree preview 15 min
- 56. typedefFree preview 10 min
- 57. Pointers to structures and the arrow operatorFree preview 15 min
- 58. UnionsFree preview 10 min
- 59. EnumsFree preview 10 min
Module 10: Files and errors 5 lessons
- 60. Creating and writing filesFree preview 15 min
- 61. Reading filesFree preview 20 min
- 62. Error handlingFree preview 15 min
- 63. Input validationFree preview 20 min
- 64. DebuggingFree preview 15 min
Module 11: The preprocessor, bits, time and projects 8 lessons
- 65. The preprocessor and macrosFree preview 20 min
- 66. Header files and organising codeFree preview 15 min
- 67. Bitwise operatorsFree preview 20 min
- 68. Date and timeFree preview 15 min
- 69. Random numbersFree preview 10 min
- 70. Command-line argumentsFree preview 10 min
- 71. Project: a student records managerFree preview 30 min
- 72. Final project: a school results systemFree preview 40 min
Reviews
No reviews yet.
