Learn C — Intermediate
Process structs, arrays, strings and pointer collections in C. Manage dynamic memory, search, filter and sort data, and build reports with error handling.
COURSE OVERVIEWREADY
Lessons: 93
Quizzes: 16
All steps: 109
$Ready to start
What you will learn
- Create structs and functions that operate on them by value or pointer, and distinguish copying data from sharing memory.
- Allocate, expand and free memory using malloc, calloc, realloc and free, controlling errors and ownership of dynamic data.
- Search, filter, sort and aggregate arrays of structs and pointers, accounting for boundaries, empty results and tie-breaking rules.
- Process strings and multi-level collections, report errors, and check results and operation counts on fixed data.
SYLLABUS / 109
Course curriculum
Work through the curriculum step by step. Completed stages are marked, and you can open the next available stage.
93 lessons16 quizzes109 steps total
- 01LESSONLESSON 1: Nested structuresAvailable now
- 02LESSONLESSON 2: Dynamic allocation of single structures (malloc/free)Locked
- 03LESSONLESSON 3: Dynamic allocation of arrays of structuresLocked
- 04LESSONLESSON 4: Dynamic array of pointers to structuresLocked
- 05LESSONLESSON 5: Growing Dynamic Arrays of Structs (realloc)Locked
- 06LESSONLESSON 6: Safely Shrinking a Dynamic Array of Structs with reallocLocked
- 01QUIZQuiz 1: applying knowledge from lessons 1–6Locked
- 07LESSONLESSON 7: Functions Operating on Structs via PointersLocked
- 08LESSONLESSON 8: Functions Operating on Structs by ValueLocked
- 09LESSONLESSON 9: Pointers to StructsLocked
- 10LESSONLESSON 10: Copying Structs and Comparing StructsLocked
- 11LESSONLESSON 11: Sorting Arrays of Structs by NumbersLocked
- 12LESSONLESSON 12: Sorting Arrays of Structs by StringsLocked
- 02QUIZQuiz 2: applying knowledge from lessons 7–12Locked
- 13LESSONLESSON 13: Sorting arrays of structs by multiple fieldsLocked
- 14LESSONLESSON 14: Comparing and sorting structs by different rulesLocked
- 15LESSONLESSON 15: Filtering arrays of structs by numbersLocked
- 16LESSONLESSON 16: Filtering arrays of structs by stringsLocked
- 17LESSONLESSON 17: Searching for an element by a numeric fieldLocked
- 18LESSONLESSON 18: Searching for an element by a text fieldLocked
- 03QUIZQuiz 3: applying knowledge from lessons 13–18Locked
- 19LESSONLESSON 19: Counting occurrences of an element in an array of structuresLocked
- 20LESSONLESSON 20: Reporting and summaries from arrays of structuresLocked
- 21LESSONLESSON 21: Operations on text fields in structures (strcmp, strcpy)Locked
- 22LESSONLESSON 22: Measuring String Lengths in StructuresLocked
- 23LESSONLESSON 23: Creating Arrays of Pointers to StringsLocked
- 24LESSONLESSON 24: Filtering Arrays of Pointers to StringsLocked
- 04QUIZQuiz 4: applying knowledge from lessons 19–24Locked
- 25LESSONLESSON 25: Sorting Arrays of Pointers to StringsLocked
- 26LESSONLESSON 26: Dynamic Memory Allocation and Deallocation for StringsLocked
- 27LESSONLESSON 27: Changing the Contents of a Dynamic String Array — Modifying and Removing ElementsLocked
- 28LESSONLESSON 28: A Dynamic Array of Pointers to Strings (char**)Locked
- 29LESSONLESSON 29: Passing a Pointer to a Pointer to a Function — Modifying a Dynamic List of Ticket LabelsLocked
- 30LESSONLESSON 30: A Function Returning a Pointer to Dynamically Allocated DataLocked
- 05QUIZQuiz 5: applying knowledge from lessons 25–30Locked
- 31LESSONLESSON 31: Text Analysis: Checking for a PalindromeLocked
- 32LESSONLESSON 32: Text Analysis — Checking for an IsogramLocked
- 33LESSONLESSON 33: Custom Functions for Changing Letter Case in Text — toggle_caseLocked
- 34LESSONLESSON 34: Your own implementation of functions from the string.h libraryLocked
- 35LESSONLESSON 35: Replacing the first fragment of a text in a new stringLocked
- 36LESSONLESSON 36: Splitting a text into words and analyzing individual wordsLocked
- 06QUIZQuiz 6: applying knowledge from lessons 31–36Locked
- 37LESSONLESSON 37: Removing selected elements from a dynamic array of structuresLocked
- 38LESSONLESSON 38: Freeing Dynamic Memory of Structs and StringsLocked
- 39LESSONLESSON 39: Function Pointers and Their UsesLocked
- 40LESSONLESSON 40: Passing a Function Pointer as an Argument — Sorting and FilteringLocked
- 41LESSONLESSON 41: Arrays of Function PointersLocked
- 42LESSONLESSON 42: Functions Returning a Function PointerLocked
- 07QUIZQuiz 7: applying knowledge from lessons 37–42Locked
- 43LESSONLESSON 43: Function Pointers as Structure FieldsLocked
- 44LESSONLESSON 44: Choosing an Action Through a Function PointerLocked
- 45LESSONLESSON 45: A Dynamic Array of Function PointersLocked
- 46LESSONLESSON 46: Sorting Arrays of Pointers to StructuresLocked
- 47LESSONLESSON 47: Filtering Structures with a Function Passed as a PointerLocked
- 48LESSONLESSON 48: Generic Counting of Elements by a Passed FunctionLocked
- 08QUIZQuiz 8: applying knowledge from lessons 43–48Locked
- 49LESSONLESSON 49: Pointers and Dynamic Two-Dimensional ArraysLocked
- 50LESSONLESSON 50: Sorting Two-Dimensional Arrays of PointersLocked
- 51LESSONLESSON 51: Implementing Your Own Dynamic Character BufferLocked
- 52LESSONLESSON 52: Dynamic Handling of Alternately Allocated StructuresLocked
- 53LESSONLESSON 53: Creating Generic Functions for Different StructuresLocked
- 54LESSONLESSON 54: Universal sorting by different fields using a function pointerLocked
- 09QUIZQuiz 9: applying knowledge from lessons 49–54Locked
- 55LESSONLESSON 55: Multi-key sorting by several fieldsLocked
- 56LESSONLESSON 56: Filtering by complex criteriaLocked
- 57LESSONLESSON 57: Dynamically adding and removing elements in an array of pointersLocked
- 58LESSONLESSON 58: Recursive Processing of Dynamic StructuresLocked
- 59LESSONLESSON 59: Dynamic Reporting Based on Several Pointer ArraysLocked
- 60LESSONLESSON 60: Testing the Correctness of Functions Operating on PointersLocked
- 10QUIZQuiz 10: applying knowledge from lessons 55–60Locked
- 61LESSONLESSON 61: Analyzing and Comparing Pointers to StructuresLocked
- 62LESSONLESSON 62: Character Pool and Pointer ArrayLocked
- 63LESSONLESSON 63: Copying Dynamic Pointer ArraysLocked
- 64LESSONLESSON 64: Passing Growing Pointer Arrays Between FunctionsLocked
- 65LESSONLESSON 65: Generic Counting of Elements with PointersLocked
- 66LESSONLESSON 66: Comparing Arrays of Pointers to StringsLocked
- 11QUIZQuiz 11: applying knowledge from lessons 61–66Locked
- 67LESSONLESSON 67: Ordering Data in Arrays of PointersLocked
- 68LESSONLESSON 68: Filtering, Sorting and Summarizing an Array of InvoicesLocked
- 69LESSONLESSON 69: Switching Functions via a Pointer to a Function PointerLocked
- 70LESSONLESSON 70: A Dynamic Cart of Structures and Pricing RulesLocked
- 71LESSONLESSON 71: Dynamically Growing and Removing Elements in Multi-Level StructuresLocked
- 72LESSONLESSON 72: Testing the Performance of Pointer OperationsLocked
- 12QUIZQuiz 12: applying knowledge from lessons 67–72Locked
- 73LESSONLESSON 73: Handling NULL Special Cases and Invalid PointersLocked
- 74LESSONLESSON 74: Organizing Selected Tickets Without CopyingLocked
- 75LESSONLESSON 75: Operations on Subarrays of Dynamic Pointer ArraysLocked
- 76LESSONLESSON 76: Passing Dynamic Pointers to Recursive FunctionsLocked
- 77LESSONLESSON 77: Creating Reports That Aggregate Data from Different StructuresLocked
- 78LESSONLESSON 78: Dynamic Arrays of Structures Containing PointersLocked
- 13QUIZQuiz 13: applying knowledge from lessons 73–78Locked
- 79LESSONLESSON 79: Data Analysis in Functions Returning Pointers to Dynamic StructuresLocked
- 80LESSONLESSON 80: Dynamic Arrays of Pointers in a Program Split into PartsLocked
- 81LESSONLESSON 81: Testing Operations on a Dynamic Array of PointersLocked
- 82LESSONPrice Conversion and Warehouse Data AnalysisLocked
- 83LESSONLESSON 83: Comparing and Swapping Segments of Dynamic Pointer ArraysLocked
- 14QUIZQuiz 14: applying knowledge from lessons 79–83Locked
- 84LESSONLESSON 84: Dynamic Pointer Arrays — A Catalog with Rows of Different LengthsLocked
- 85LESSONLESSON 85: Sales Report Using an Array of Pointers to StructuresLocked
- 86LESSONLESSON 86: Creating Dynamic Pointer Lists of Variable SizeLocked
- 87LESSONLESSON 87: Safe Dynamic Memory Handling in a Product WarehouseLocked
- 88LESSONLESSON 88: Text Analysis with Dynamic Arrays and PointersLocked
- 15QUIZQuiz 15: applying knowledge from lessons 84–88Locked
- 89LESSONLESSON 89: Ordering and Aggregating Dynamic Arrays of PointersLocked
- 90LESSONLESSON 90: Creating and Freeing Multi-Level Dynamic StructuresLocked
- 91LESSONLESSON 91: Error Handling and Reporting When Working with PointersLocked
- 92LESSONLESSON 92: Multi-Level Sorting and Filtering of Dynamic StructuresLocked
- 93LESSONLESSON 93: Deterministic Counting of Pointer OperationsLocked
- 16QUIZQuiz 16: applying knowledge from lessons 89–93Locked
- +EXAMConfirm your skills with an examPreparing with this course is optional. You can choose a certification exam for this language and level without completing the course or quizzes. Check your account access and confirm exam authorization.Other status