Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,33 @@
# C Language Programs

This folder contains beginner-friendly C programs that demonstrate core concepts, written as part of my course practice.

## File List

1. **01_hello_world.c**
- Prints "Hello, World!" to the screen.
- First step into C programming.

2. **02_variables.c**
- Demonstrates declaring variables and printing their values.
- Example: integers, floats, characters.

3. **03_conditions.c**
- Shows how to use `if`, `else`, and comparison operators.

4. **04_loops.c**
- Examples of `for`, `while`, and `do-while` loops.

---

## How to Compile & Run
Using GCC:
```bash
gcc 01_hello_world.c -o hello
./hello
```

Windows (Dev-C++ / TDM-GCC):
```
gcc 01_hello_world.c -o hello.exe
hello.exe```