diff options
| author | srdusr <[email protected]> | 2023-06-26 15:30:35 +0200 |
|---|---|---|
| committer | srdusr <[email protected]> | 2023-06-26 15:30:35 +0200 |
| commit | 303eae22061bf6cf3c5faf21974e0224c9c1ce8f (patch) | |
| tree | 9c4be6020d2f16a5fc8afb957722cf53fd748a12 | |
| parent | 115b3d7155cdf235e4a4b5c1aca736ed6b76f783 (diff) | |
| download | notes-303eae22061bf6cf3c5faf21974e0224c9c1ce8f.tar.gz notes-303eae22061bf6cf3c5faf21974e0224c9c1ce8f.zip | |
Fixed table
| -rw-r--r-- | languages/c.md | 54 |
1 files changed, 29 insertions, 25 deletions
diff --git a/languages/c.md b/languages/c.md index cb407db..3843221 100644 --- a/languages/c.md +++ b/languages/c.md @@ -17,32 +17,36 @@ int x = 10; // Declaration without initialization float y; ``` - + - Data Types -|Data | Type| Description| -| --- | --- | --- | -|int| Integer | | -|float| Floating point number | | -|double| Double precision floating point number | | -|char| Character | | -|bool| Boolean | | -|Operators| -|Operator| Description -|=| Assignment | | -|+| Addition| | -|-| Subtraction| | -|*| Multiplication| | -|/| Division| | -|%| Modulus| (remainder after division) | -|==| Equality| | -|!=| Inequality| | -|<| Less than| | -|>| Greater than| | -|<=| Less than or equal to| | -|>=| Greater than or equal to| | -|&&| Logical AND| | -|` | | | -|!| Logical NOT| | + +| Data | Type | Description| +| --- | --- | --- | +| int | Integer | | +| float | Floating point number | | +| double | Double precision floating point number | | +| char | Character | | +| bool | Boolean | | + +- Operators + +| Operator | Description | | +| --- | --- | --- | +| = | Assignment | | +| + | Addition| | +| - | Subtraction| | +| * | Multiplication| | +| / | Division| | +| % | Modulus| (remainder after division) | +| == | Equality| | +| != | Inequality| | +| < | Less than| | +| > | Greater than| | +| <= | Less than or equal to| | +| >= | Greater than or equal to| | +| && | Logical AND| | +| \|\| | | | +| ! | Logical NOT| | - - - |