# muhammad-hashir-code/programming-fundamentals-c-language architecture

> Architecture diagram of the GitHub repository muhammad-hashir-code/programming-fundamentals-c-language, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/muhammad-hashir-code/programming-fundamentals-c-language
- Repository: https://github.com/muhammad-hashir-code/programming-fundamentals-c-language

## Overview

This repository is a collection of independent C programming exercises, not one integrated application. The typical user-to-result workflow is to run an individual exercise, provide any requested input, and read its printed result; the sampled programs show this interaction, but no shared runtime or dispatch mechanism. Groups below organize the exercises by topic. The README also lists pointers, memory management, file handling, structures, and mini-projects, but the supplied tree does not identify implementations for those capabilities, so they are documented rather than mapped as runtime components.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_numeric["Numeric exercises"]
  node_conjecture["Conjecture series"]
  node_hcf_lcm["HCF and LCM"]
  node_lcm["LCM calculator<br/>[LCM.cpp]"]
  node_multiples["Multiples"]
  node_reverse_number["Reverse number<br/>[Reverse number.cpp]"]
  node_sum_digits["Sum of digits<br/>[Sum of digits.cpp]"]
  node_even_sum["Even-number sum"]
end

subgraph group_control["Control exercises"]
  node_leap_year["Leap year<br/>[Leap Year.cpp]"]
  node_first_code["First C program"]
  node_recursive["Recursive function"]
  node_crop["Crop irrigation<br/>[Crop Mangement.cpp]"]
  node_rotation["Value rotation"]
end

subgraph group_arrays["Array exercises"]
  node_triplet["Triplet comparison"]
  node_reverse_array["Reverse array"]
  node_duplicates_nested["Duplicate search"]
  node_duplicates_sort["Sorted duplicate search"]
  node_histogram["Array histogram"]
end

subgraph group_strings["Strings and conditions"]
  node_vowels["Vowel check"]
  node_palindrome["Palindrome check"]
end

node_user(("User"))

click node_conjecture "https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Conjecture%20Series.cpp"
click node_hcf_lcm "https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/HCF%20%2B%20LCM%20%20Calculator.cpp"
click node_lcm "https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/LCM.cpp"
click node_multiples "https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Multiples%20of%20Number.cpp"
click node_reverse_number "https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Reverse%20number.cpp"
click node_sum_digits "https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Sum%20of%20digits.cpp"
click node_even_sum "https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Sum%20of%20even%20numbers(loop).cpp"
click node_leap_year "https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Leap%20Year.cpp"
click node_first_code "https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/MY%20First%20C%20code.cpp"
click node_recursive "https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Recurssive%20Function.cpp"
click node_crop "https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Crop%20Mangement.cpp"
click node_rotation "https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Rotation%20of%20values.cpp"
click node_triplet "https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Triplet%20Comparision%20array.cpp"
click node_reverse_array "https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Reversing%20Array.cpp"
click node_duplicates_nested "https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Repeated%20Elements%20array%20with%20nested%20loops.cpp"
click node_duplicates_sort "https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Repeated%20elements%20in%20array.cpp"
click node_histogram "https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Vertical%20Histogram.cpp"
click node_vowels "https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Vowels%20and%20Consonants.cpp"
click node_palindrome "https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Palindrone%20using%20string%20functions.cpp"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_conjecture,node_hcf_lcm,node_lcm,node_multiples,node_reverse_number,node_sum_digits,node_even_sum,node_user toneBlue
class node_leap_year,node_first_code,node_recursive,node_crop,node_rotation toneAmber
class node_triplet,node_reverse_array,node_duplicates_nested,node_duplicates_sort,node_histogram toneMint
class node_vowels,node_palindrome toneRose
```

## Components

### Numeric exercises

- [Conjecture series](https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Conjecture%20Series.cpp): `Conjecture Series.cpp`
- [HCF and LCM](https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/HCF%20%2B%20LCM%20%20Calculator.cpp): `HCF + LCM Calculator.cpp`
- [LCM calculator](https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/LCM.cpp): `LCM.cpp`
- [Multiples](https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Multiples%20of%20Number.cpp): `Multiples of Number.cpp`
- [Reverse number](https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Reverse%20number.cpp): `Reverse number.cpp`
- [Sum of digits](https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Sum%20of%20digits.cpp): `Sum of digits.cpp`
- [Even-number sum](https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Sum%20of%20even%20numbers(loop).cpp): `Sum of even numbers(loop).cpp`

### Control exercises

- [Leap year](https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Leap%20Year.cpp): `Leap Year.cpp`
- [First C program](https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/MY%20First%20C%20code.cpp): `MY First C code.cpp`
- [Recursive function](https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Recurssive%20Function.cpp): `Recurssive Function.cpp`
- [Crop irrigation](https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Crop%20Mangement.cpp): `Crop Mangement.cpp`
- [Value rotation](https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Rotation%20of%20values.cpp): `Rotation of values.cpp`

### Array exercises

- [Triplet comparison](https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Triplet%20Comparision%20array.cpp): `Triplet Comparision array.cpp`
- [Reverse array](https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Reversing%20Array.cpp): `Reversing Array.cpp`
- [Duplicate search](https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Repeated%20Elements%20array%20with%20nested%20loops.cpp): `Repeated Elements array with nested loops.cpp`
- [Sorted duplicate search](https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Repeated%20elements%20in%20array.cpp): `Repeated elements in array.cpp`
- [Array histogram](https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Vertical%20Histogram.cpp): `Vertical Histogram.cpp`

### Strings and conditions

- [Vowel check](https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Vowels%20and%20Consonants.cpp): `Vowels and Consonants.cpp`
- [Palindrome check](https://github.com/muhammad-hashir-code/programming-fundamentals-c-language/blob/main/Palindrone%20using%20string%20functions.cpp): `Palindrone using string functions.cpp`

### Other components

- **User**
