Skip to content

ArpitBreathes/C-Codescape

Repository files navigation

C-Codescape

C-Codescape is a well-organized repository of C programming practice questions, structured according to a university-level syllabus. It’s designed as a personal journey through the fundamentals of the C language — focusing on logic-building, clean code, and consistency.

Whether you're a beginner looking to strengthen your foundation or someone revising core concepts, this repo is built to help you explore, learn, and grow with clarity.


✨ Why "Codescape"?

"C-Codescape" combines two ideas:

  • C – The foundation of all major programming languages
  • Codescape – A landscape of code, or a space to escape into focused learning

This repo is my way of escaping into code every day — solving real problems, writing structured programs, and improving both my logic and discipline.


📚 What's Inside

This repo is categorized into folders based on topic/logic type, covering:

  • ✅ Basic I/O & arithmetic operations
  • ✅ Control structures: if-else, loops, switch-case
  • ✅ Functions & recursion
  • ✅ Arrays, matrices & strings
  • ✅ Pointers
  • ✅ File handling
  • ✅ Real-world logic problems: palindrome, prime, Armstrong, etc.

Each file is clearly named and easy to compile individually.


🗂️ Folder Structure

C-Codescape/
│
├── 01_Sum_and_Digits/
│   ├── sum_avg_three.c
│   ├── sum_of_digits.c
│   └── README.md         ← Explains the logic behind each program
│
├── 02_Fibonacci_and_Primes/
│   ├── fibonacci_series.c
│   ├── prime_number.c
│   ├── armstrong_number.c
│   └── README.md         ← Explains logic of Fibonacci, Prime, Armstrong
│
├── 03_Number_Checks/
│   ├── perfect_number.c
│   ├── strong_number.c
│   └── README.md         ← Logic for number-based checks
│
├── 04_Quadratic_and_Switch/
│   ├── quadratic_roots.c
│   ├── switch_arithmetic.c
│   └── README.md
│
├── 05_Factorial/
│   ├── factorial_recursive.c
│   ├── factorial_non_recursive.c
│   └── README.md
│
├── 06_GCD/
│   ├── gcd_recursive.c
│   ├── gcd_non_recursive.c
│   └── README.md
│
├── 07_Array_Operations/
│   ├── max_min_array.c
│   ├── sort_array.c
│   └── README.md
│
├── 08_Matrix/
│   ├── matrix_addition.c
│   ├── matrix_multiplication.c
│   └── README.md
│
├── 09_Functions_and_Swap/
│   ├── swap_call_by_value.c
│   ├── swap_call_by_reference.c
│   └── README.md
│
├── 10_String_Operations/
│   ├── palindrome_string.c
│   ├── substring_index.c
│   └── README.md
│
├── 11_File_and_Text/
│   ├── text_statistics.c
│   ├── sum_array_pointers.c
│   └── README.md
│
└── 12_File_Handling/
    ├── total_percentage_marks.c
    ├── file_read_write.c
    └── README.md

Each folder contains:

  • C programs categorized by topic
  • A README.md inside explaining the logic/approach to the problems in that section

🛠️ How to Run the Code

If you're new to C, follow these simple steps:

  1. Clone the repository:

    git clone https://github.com/ArpitBreathes/C-Codescape.git
  2. Navigate to a folder:

    cd C-Codescape/03_Number_Checks
  3. Compile and run the C file using GCC:

    gcc strong_number.c -o strong
    ./strong

You can also use any IDE like Code::Blocks, VS Code, or Turbo C++ to compile and run the programs.


🎯 Goals Behind This Repo

  • ✅ Practice and master core programming concepts
  • ✅ Track and showcase my learning progress
  • ✅ Help other beginners with well-structured C examples
  • ✅ Cultivate a habit of daily coding & problem-solving

📌 Tech Used

  • Language: C
  • Compiler: GCC (or any standard C compiler)
  • IDE (Optional): VS Code / Code::Blocks / Turbo C++

🧠 Approach Files

Each folder has its own README.md that explains:

  • The type of problem
  • The logic used in the solution
  • Why the chosen method works

This makes the repo more beginner-friendly and helps reinforce problem-solving patterns.


🙌 Contribution

This is a personal learning journey. However, if you're also learning or want to practice along, feel free to fork this repo, submit improvements, or just drop suggestions. I'm always open to feedback and learning together.


📬 Let's Connect

Feel free to reach out or connect:
📫 LinkedIn


⭐ If you found this repo helpful or interesting, don’t forget to star it!


About

Structured C programming practice repo with real problems and clear logic.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy