Skip to main content

index

docs/
โ””โ”€โ”€ tutorials/
โ””โ”€โ”€ c/
โ”œโ”€โ”€ index.mdx
โ”‚
โ”œโ”€โ”€ 01-getting-started/
โ”‚ โ”œโ”€โ”€ what-is-c.mdx
โ”‚ โ”œโ”€โ”€ history-and-features.mdx
โ”‚ โ”œโ”€โ”€ install-c-compiler.mdx
โ”‚ โ”œโ”€โ”€ setup-vscode.mdx
โ”‚ โ”œโ”€โ”€ gcc-and-clang.mdx
โ”‚ โ”œโ”€โ”€ compile-and-run-c.mdx
โ”‚ โ””โ”€โ”€ first-c-program.mdx
โ”‚
โ”œโ”€โ”€ 02-c-fundamentals/
โ”‚ โ”œโ”€โ”€ program-structure.mdx
โ”‚ โ”œโ”€โ”€ tokens-and-keywords.mdx
โ”‚ โ”œโ”€โ”€ variables-and-constants.mdx
โ”‚ โ”œโ”€โ”€ data-types.mdx
โ”‚ โ”œโ”€โ”€ format-specifiers.mdx
โ”‚ โ”œโ”€โ”€ type-conversion.mdx
โ”‚ โ”œโ”€โ”€ operators.mdx
โ”‚ โ”œโ”€โ”€ comments-and-documentation.mdx
โ”‚ โ””โ”€โ”€ naming-conventions.mdx
โ”‚
โ”œโ”€โ”€ 03-input-output-and-control-flow/
โ”‚ โ”œโ”€โ”€ printf-and-scanf.mdx
โ”‚ โ”œโ”€โ”€ character-input-output.mdx
โ”‚ โ”œโ”€โ”€ if-else-statements.mdx
โ”‚ โ”œโ”€โ”€ switch-statements.mdx
โ”‚ โ”œโ”€โ”€ for-loops.mdx
โ”‚ โ”œโ”€โ”€ while-loops.mdx
โ”‚ โ”œโ”€โ”€ do-while-loops.mdx
โ”‚ โ”œโ”€โ”€ break-and-continue.mdx
โ”‚ โ””โ”€โ”€ nested-control-flow.mdx
โ”‚
โ”œโ”€โ”€ 04-functions-and-scope/
โ”‚ โ”œโ”€โ”€ function-fundamentals.mdx
โ”‚ โ”œโ”€โ”€ function-declarations.mdx
โ”‚ โ”œโ”€โ”€ parameters-and-return-values.mdx
โ”‚ โ”œโ”€โ”€ call-by-value.mdx
โ”‚ โ”œโ”€โ”€ recursion.mdx
โ”‚ โ”œโ”€โ”€ variable-scope.mdx
โ”‚ โ”œโ”€โ”€ storage-classes.mdx
โ”‚ โ”œโ”€โ”€ static-and-extern.mdx
โ”‚ โ””โ”€โ”€ header-files.mdx
โ”‚
โ”œโ”€โ”€ 05-arrays-and-strings/
โ”‚ โ”œโ”€โ”€ array-fundamentals.mdx
โ”‚ โ”œโ”€โ”€ multidimensional-arrays.mdx
โ”‚ โ”œโ”€โ”€ array-traversal.mdx
โ”‚ โ”œโ”€โ”€ character-arrays.mdx
โ”‚ โ”œโ”€โ”€ c-strings.mdx
โ”‚ โ”œโ”€โ”€ string-library-functions.mdx
โ”‚ โ”œโ”€โ”€ string-comparison.mdx
โ”‚ โ”œโ”€โ”€ string-tokenization.mdx
โ”‚ โ””โ”€โ”€ safe-string-handling.mdx
โ”‚
โ”œโ”€โ”€ 06-pointers/
โ”‚ โ”œโ”€โ”€ pointer-fundamentals.mdx
โ”‚ โ”œโ”€โ”€ addresses-and-dereferencing.mdx
โ”‚ โ”œโ”€โ”€ pointers-and-arrays.mdx
โ”‚ โ”œโ”€โ”€ pointer-arithmetic.mdx
โ”‚ โ”œโ”€โ”€ pointers-and-functions.mdx
โ”‚ โ”œโ”€โ”€ pointer-to-pointer.mdx
โ”‚ โ”œโ”€โ”€ null-pointers.mdx
โ”‚ โ”œโ”€โ”€ void-pointers.mdx
โ”‚ โ”œโ”€โ”€ function-pointers.mdx
โ”‚ โ””โ”€โ”€ common-pointer-mistakes.mdx
โ”‚
โ”œโ”€โ”€ 07-structures-unions-and-enums/
โ”‚ โ”œโ”€โ”€ structures.mdx
โ”‚ โ”œโ”€โ”€ structure-members.mdx
โ”‚ โ”œโ”€โ”€ arrays-of-structures.mdx
โ”‚ โ”œโ”€โ”€ pointers-to-structures.mdx
โ”‚ โ”œโ”€โ”€ nested-structures.mdx
โ”‚ โ”œโ”€โ”€ unions.mdx
โ”‚ โ”œโ”€โ”€ enumerations.mdx
โ”‚ โ”œโ”€โ”€ typedef.mdx
โ”‚ โ””โ”€โ”€ bit-fields.mdx
โ”‚
โ”œโ”€โ”€ 08-dynamic-memory-management/
โ”‚ โ”œโ”€โ”€ stack-and-heap.mdx
โ”‚ โ”œโ”€โ”€ malloc.mdx
โ”‚ โ”œโ”€โ”€ calloc.mdx
โ”‚ โ”œโ”€โ”€ realloc.mdx
โ”‚ โ”œโ”€โ”€ free.mdx
โ”‚ โ”œโ”€โ”€ memory-ownership.mdx
โ”‚ โ”œโ”€โ”€ memory-leaks.mdx
โ”‚ โ”œโ”€โ”€ dangling-pointers.mdx
โ”‚ โ””โ”€โ”€ buffer-overflows.mdx
โ”‚
โ”œโ”€โ”€ 09-preprocessor-and-build-process/
โ”‚ โ”œโ”€โ”€ preprocessing-overview.mdx
โ”‚ โ”œโ”€โ”€ include-directives.mdx
โ”‚ โ”œโ”€โ”€ define-and-undef.mdx
โ”‚ โ”œโ”€โ”€ macros.mdx
โ”‚ โ”œโ”€โ”€ conditional-compilation.mdx
โ”‚ โ”œโ”€โ”€ header-guards.mdx
โ”‚ โ”œโ”€โ”€ compilation-stages.mdx
โ”‚ โ”œโ”€โ”€ linking-and-libraries.mdx
โ”‚ โ””โ”€โ”€ makefiles-basics.mdx
โ”‚
โ”œโ”€โ”€ 10-file-handling/
โ”‚ โ”œโ”€โ”€ file-pointers.mdx
โ”‚ โ”œโ”€โ”€ fopen-and-fclose.mdx
โ”‚ โ”œโ”€โ”€ reading-text-files.mdx
โ”‚ โ”œโ”€โ”€ writing-text-files.mdx
โ”‚ โ”œโ”€โ”€ formatted-file-io.mdx
โ”‚ โ”œโ”€โ”€ binary-file-io.mdx
โ”‚ โ”œโ”€โ”€ file-positioning.mdx
โ”‚ โ”œโ”€โ”€ error-handling-for-files.mdx
โ”‚ โ””โ”€โ”€ csv-file-processing.mdx
โ”‚
โ”œโ”€โ”€ 11-standard-library/
โ”‚ โ”œโ”€โ”€ stdio.h.mdx
โ”‚ โ”œโ”€โ”€ stdlib.h.mdx
โ”‚ โ”œโ”€โ”€ string.h.mdx
โ”‚ โ”œโ”€โ”€ math.h.mdx
โ”‚ โ”œโ”€โ”€ ctype.h.mdx
โ”‚ โ”œโ”€โ”€ time.h.mdx
โ”‚ โ”œโ”€โ”€ assert.h.mdx
โ”‚ โ”œโ”€โ”€ stdint.h-and-size-t.mdx
โ”‚ โ””โ”€โ”€ errno-and-error-reporting.mdx
โ”‚
โ”œโ”€โ”€ 12-data-structures/
โ”‚ โ”œโ”€โ”€ data-structures-overview.mdx
โ”‚ โ”œโ”€โ”€ linked-lists.mdx
โ”‚ โ”œโ”€โ”€ doubly-linked-lists.mdx
โ”‚ โ”œโ”€โ”€ stacks.mdx
โ”‚ โ”œโ”€โ”€ queues.mdx
โ”‚ โ”œโ”€โ”€ circular-queues.mdx
โ”‚ โ”œโ”€โ”€ hash-tables.mdx
โ”‚ โ”œโ”€โ”€ binary-trees.mdx
โ”‚ โ”œโ”€โ”€ binary-search-trees.mdx
โ”‚ โ””โ”€โ”€ heaps-and-priority-queues.mdx
โ”‚
โ”œโ”€โ”€ 13-algorithms-and-complexity/
โ”‚ โ”œโ”€โ”€ algorithm-fundamentals.mdx
โ”‚ โ”œโ”€โ”€ time-and-space-complexity.mdx
โ”‚ โ”œโ”€โ”€ linear-and-binary-search.mdx
โ”‚ โ”œโ”€โ”€ bubble-and-selection-sort.mdx
โ”‚ โ”œโ”€โ”€ insertion-sort.mdx
โ”‚ โ”œโ”€โ”€ merge-sort.mdx
โ”‚ โ”œโ”€โ”€ quicksort.mdx
โ”‚ โ”œโ”€โ”€ recursion-and-backtracking.mdx
โ”‚ โ”œโ”€โ”€ graph-traversal.mdx
โ”‚ โ””โ”€โ”€ algorithm-practice.mdx
โ”‚
โ”œโ”€โ”€ 14-advanced-c/
โ”‚ โ”œโ”€โ”€ pointer-qualifiers.mdx
โ”‚ โ”œโ”€โ”€ const-volatile-and-restrict.mdx
โ”‚ โ”œโ”€โ”€ alignment-and-padding.mdx
โ”‚ โ”œโ”€โ”€ endianness.mdx
โ”‚ โ”œโ”€โ”€ undefined-behavior.mdx
โ”‚ โ”œโ”€โ”€ implementation-defined-behavior.mdx
โ”‚ โ”œโ”€โ”€ variadic-functions.mdx
โ”‚ โ”œโ”€โ”€ flexible-array-members.mdx
โ”‚ โ”œโ”€โ”€ atomics-and-stdatomic.mdx
โ”‚ โ””โ”€โ”€ c-language-standards.mdx
โ”‚
โ”œโ”€โ”€ 15-debugging-and-testing/
โ”‚ โ”œโ”€โ”€ compiler-warnings.mdx
โ”‚ โ”œโ”€โ”€ debugging-with-gdb.mdx
โ”‚ โ”œโ”€โ”€ debugging-with-lldb.mdx
โ”‚ โ”œโ”€โ”€ assertions.mdx
โ”‚ โ”œโ”€โ”€ unit-testing.mdx
โ”‚ โ”œโ”€โ”€ addresssanitizer.mdx
โ”‚ โ”œโ”€โ”€ undefinedbehaviorsanitizer.mdx
โ”‚ โ”œโ”€โ”€ valgrind-memory-checking.mdx
โ”‚ โ””โ”€โ”€ static-analysis.mdx
โ”‚
โ”œโ”€โ”€ 16-systems-programming/
โ”‚ โ”œโ”€โ”€ processes-and-memory.mdx
โ”‚ โ”œโ”€โ”€ command-line-arguments.mdx
โ”‚ โ”œโ”€โ”€ environment-variables.mdx
โ”‚ โ”œโ”€โ”€ signals-and-handlers.mdx
โ”‚ โ”œโ”€โ”€ sockets-introduction.mdx
โ”‚ โ”œโ”€โ”€ tcp-client-server.mdx
โ”‚ โ”œโ”€โ”€ threads-with-pthreads.mdx
โ”‚ โ””โ”€โ”€ platform-specific-apis.mdx
โ”‚
โ”œโ”€โ”€ 17-secure-c-programming/
โ”‚ โ”œโ”€โ”€ secure-c-fundamentals.mdx
โ”‚ โ”œโ”€โ”€ bounds-checking.mdx
โ”‚ โ”œโ”€โ”€ integer-overflow.mdx
โ”‚ โ”œโ”€โ”€ format-string-vulnerabilities.mdx
โ”‚ โ”œโ”€โ”€ safe-memory-management.mdx
โ”‚ โ”œโ”€โ”€ input-validation.mdx
โ”‚ โ”œโ”€โ”€ secure-file-handling.mdx
โ”‚ โ””โ”€โ”€ secure-c-checklist.mdx
โ”‚
โ”œโ”€โ”€ 18-projects/
โ”‚ โ”œโ”€โ”€ console-calculator.mdx
โ”‚ โ”œโ”€โ”€ number-guessing-game.mdx
โ”‚ โ”œโ”€โ”€ student-record-manager.mdx
โ”‚ โ”œโ”€โ”€ contact-management-system.mdx
โ”‚ โ”œโ”€โ”€ file-compression-tool.mdx
โ”‚ โ”œโ”€โ”€ custom-data-structures-library.mdx
โ”‚ โ”œโ”€โ”€ command-line-task-manager.mdx
โ”‚ โ””โ”€โ”€ tcp-chat-application.mdx
โ”‚
โ”œโ”€โ”€ 19-practice/
โ”‚ โ”œโ”€โ”€ beginner-exercises.mdx
โ”‚ โ”œโ”€โ”€ intermediate-exercises.mdx
โ”‚ โ”œโ”€โ”€ pointer-challenges.mdx
โ”‚ โ”œโ”€โ”€ memory-management-challenges.mdx
โ”‚ โ”œโ”€โ”€ data-structure-exercises.mdx
โ”‚ โ”œโ”€โ”€ quizzes.mdx
โ”‚ โ””โ”€โ”€ interview-questions.mdx
โ”‚
โ”œโ”€โ”€ reference/
โ”‚ โ”œโ”€โ”€ c-syntax-cheatsheet.mdx
โ”‚ โ”œโ”€โ”€ operators-reference.mdx
โ”‚ โ”œโ”€โ”€ standard-library-reference.mdx
โ”‚ โ”œโ”€โ”€ format-specifiers-reference.mdx
โ”‚ โ”œโ”€โ”€ compiler-commands.mdx
โ”‚ โ”œโ”€โ”€ common-errors.mdx
โ”‚ โ””โ”€โ”€ glossary.mdx
โ”‚
โ””โ”€โ”€ assets/
โ”œโ”€โ”€ images/
โ””โ”€โ”€ diagrams/