Skip to content

A growing collection of C programming practice problems covering a wide range of core concepts. Each program is clearly named and organized for easy reference. Perfect for building foundational skills and reinforcing C programming knowledge.

Notifications You must be signed in to change notification settings

Amaan-Mujawar/C-Programming-Practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C-Programming-Practice

Welcome to the C-Programming-Practice repository!
This repository contains a growing collection of C programming examples designed to help you learn, practice, and master the fundamentals of C through hands-on coding.

It is ideal for:

  • Beginners starting their C programming journey
  • Developers preparing for interviews or exams
  • Anyone looking to build logical thinking through practical code challenges

🧰 Topics Covered

  • Input/Output
  • Arithmetic operations
  • Conditional statements (if, else, switch)
  • Looping constructs (for, while, do-while)
  • Pattern printing
  • Arrays and strings
  • Functions and recursion
  • Simple CLI utilities (calculator, billing system, etc.)

Each program file is standalone and clearly named for easy navigation.


💾 How to Download the Repository

🔹 Option 1: Download ZIP

  1. Click the green Code button at the top right.
  2. Select Download ZIP.
  3. Extract it on your local machine.

🔹 Option 2: Clone with Git

git clone https://github.com/Amaan-Mujawar/C-Programming-Practice.git

🛠️ How to Set Up and Run C Programs

You’ll need a C compiler to compile and run the .c files. Follow the instructions based on your operating system.

✅ Windows

  • Option 1: Download and install Code::Blocks with MinGW compiler.
  • Option 2: Install Turbo C++ (legacy interface).
  • Option 3: Use MinGW-w64 via CMD or PowerShell.

✅ Linux (Ubuntu/Debian)

sudo apt update
sudo apt install build-essential

To compile:

gcc filename.c -o output
./output

✅ macOS

Install Xcode Command Line Tools:

xcode-select --install

Then compile:

gcc filename.c -o output
./output

✅ Online C Compilers

If you prefer not to install anything, you can use these online C compilers:


About

A growing collection of C programming practice problems covering a wide range of core concepts. Each program is clearly named and organized for easy reference. Perfect for building foundational skills and reinforcing C programming knowledge.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages