srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/languages/c.md
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2023-06-26 16:04:49 +0200
committersrdusr <[email protected]>2023-06-26 16:04:49 +0200
commit818ca0f133ad1e1c7030686d25d647001380edd8 (patch)
treea7b0b951c54f94979c83eb89c629c9577cd88f0e /languages/c.md
parent3c1fdfef8c8b6948e9475dd4c58887a20858c9d3 (diff)
downloadnotes-818ca0f133ad1e1c7030686d25d647001380edd8.tar.gz
notes-818ca0f133ad1e1c7030686d25d647001380edd8.zip
Add loops to Control Structures
Diffstat (limited to 'languages/c.md')
-rw-r--r--languages/c.md10
1 files changed, 3 insertions, 7 deletions
diff --git a/languages/c.md b/languages/c.md
index 53f3e9f..6b5ae6d 100644
--- a/languages/c.md
+++ b/languages/c.md
@@ -18,7 +18,7 @@ int x = 10;
float y;
```
-- Data Types
+ ###### Data Types
| Data | Type | Description|
| --- | --- | --- |
@@ -28,8 +28,8 @@ float y;
| char | Character | Represents a single character, such as a letter or symbol |
| bool | Boolean | Represents a logical value, either true or false |
-- Operators
- - Arithmetic Operators:
+ ###### Operators
+- Arithmetic Operators:
| Operator | Name | Description |
| --- | --- | --- |
@@ -119,10 +119,6 @@ switch (expression) {
break;
}
```
-
-- - -
-
-##### Loops
- For Loop
```c
for (initialization; condition; update) {