File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ # C Language Programs
12
3+ This folder contains beginner-friendly C programs that demonstrate core concepts, written as part of my course practice.
4+
5+ ## File List
6+
7+ 1 . ** 01_hello_world.c**
8+ - Prints "Hello, World!" to the screen.
9+ - First step into C programming.
10+
11+ 2 . ** 02_variables.c**
12+ - Demonstrates declaring variables and printing their values.
13+ - Example: integers, floats, characters.
14+
15+ 3 . ** 03_conditions.c**
16+ - Shows how to use ` if ` , ` else ` , and comparison operators.
17+
18+ 4 . ** 04_loops.c**
19+ - Examples of ` for ` , ` while ` , and ` do-while ` loops.
20+
21+ ---
22+
23+ ## How to Compile & Run
24+ Using GCC:
25+ ``` bash
26+ gcc 01_hello_world.c -o hello
27+ ./hello
28+ ```
29+
30+ Windows (Dev-C++ / TDM-GCC):
31+ ```
32+ gcc 01_hello_world.c -o hello.exe
33+ hello.exe```
You can’t perform that action at this time.
0 commit comments