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.
"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.
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.
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
If you're new to C, follow these simple steps:
-
Clone the repository:
git clone https://github.com/ArpitBreathes/C-Codescape.git
-
Navigate to a folder:
cd C-Codescape/03_Number_Checks
-
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.
- ✅ 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
- Language: C
- Compiler: GCC (or any standard C compiler)
- IDE (Optional): VS Code / Code::Blocks / Turbo C++
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.
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.
Feel free to reach out or connect:
📫 LinkedIn