/C-Language-Programs

#Hacktoberfest2025. C Language Programs for Hacktoberfest 2025

Primary LanguageC

C Language Programs β€” Hacktoberfest 2025 🎯🐍

Hi β€” I’m Dimpesh Panwar πŸ‘‹ Welcome to the C Language Programs repo for Hacktoberfest 2025! This repo is all about small, well-documented C programs that help beginners learn and contributors practice open-source collaboration.

What I’m looking for

  • Follow my GitHub account βœ…

  • Fork this repo and create a unique Pull Request (PR) β€” don’t duplicate existing solutions.

  • PRs with clear code, comments, and a short description are more likely to be accepted.

  • Keep entries beginner-friendly and educational.

Contribution quick-start

  • ⭐ Follow my account on GitHub

  • 🍴 Fork this repository

  • πŸ”€ Create a new branch: git checkout -b feature/your-short-title

  • ✍️ Add your C program inside a descriptive folder (example: sorting/quick_sort.c)

  • πŸ“ Add a short README or comment at the top of your file:

  • Program name

  • Problem statement

  • Input / Output examples

  • Complexity (if applicable)

  • πŸ” Commit with a meaningful message: git commit -m "Add: bubble sort with explanation"

  • πŸ“€ Push and open a PR to main with a clear title and description

  • βœ… Ensure your PR is unique β€” check existing files before adding

  • PR checklist (please include)

  • Program compiles with gcc (mention the command used)

  • File placed in an appropriate folder and named clearly (e.g., math/fibonacci_iterative.c)

  • A couple of example inputs & outputs in comments or small README

  • No duplicate solution already in repo

  • Short description of the approach in the PR body

  • Style & conventions

  • Use clear variable names and comments.

  • Keep functions short and focused.

  • Prefer standard I/O (scanf/printf) for examples.

  • If your program uses advanced features, briefly explain them at the top.

Ideas to contribute

  • Classic algorithms (sorting, searching)

  • Number theory (GCD, prime checks)

  • Data structures (linked list, stack, queue)

  • Small games (tic-tac-toe CLI)

  • Problem-solving examples (recursion, DP basics)

  • Useful utilities (file I/O examples)

License

Contributions should be compatible with an open-source license. This repo uses MIT License unless otherwise noted.

Contact / Questions

Open an issue or mention me in the PR if you need feedback. I’ll review and accept unique, well-documented contributions. Happy coding β€” let’s make Hacktoberfest 2025 awesome! πŸš€