This folder contains a collection of small C programs and mini-projects created while learning the C programming language. The contents range from beginner practice files to simple console applications and pattern exercises.
if_else.c— practice with conditional statementsvariable_and_printf.c— basic variables and formatted outputpointers_enums.c— pointers and enumssorting.c— basic sorting examplesstructs.c— structures and related practice
star_pattern.c— star pattern printingarmstrong_numbers/— Armstrong number examplestrangular_numbers/— triangular number programsreverse_words/— reverse-word exercises
calculator/— simple calculator programbanking_system/— basic banking system exampleauthentication/— simple authentication systemcharacter_converter/— character conversion utilitiesDigital Clock/— clock-related programsDynamic Memory Allocation/— memory allocation examplesgrid/— grid-based practice programpractice/— miscellaneous practice code
Several compiled .exe and related files are also present in the repository from previous builds.
Use a C compiler such as GCC or Clang.
Example:
gcc filename.c -o filename
./filenameOn Windows with MinGW, the same idea applies:
gcc filename.c -o filename.exe
filename.exeThe projects in this folder cover topics such as:
- variables and input/output
- conditions and loops
- functions and arrays
- pointers and enums
- structures
- dynamic memory allocation
- small console-based applications