mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-01-28 22:28:02 -08:00
Final for C
This commit is contained in:
@@ -158,9 +158,9 @@ In Linux systems:
|
||||
| `!=` | Not equal, result is true or false, `a != b` |
|
||||
| `&` | Bitwise and, `a & b` |
|
||||
| `^` | Bitwise exclusive or, `a ^ b` |
|
||||
| | | Bitwise or, `a | b` |
|
||||
| | | Bitwise or, `a` | `b` |
|
||||
| `&&` | Relational and, result is true or false, `a < b && c >= d` |
|
||||
| | | | Relational or, result is true or false, `a < b || c >= d` |
|
||||
| | | | Relational or, result is true or false, `a < b` | | `c >= d` |
|
||||
| `?` | Ternary conditional, `exp1 ? exp2 : exp3`, result is `exp2` if `exp1` is not 0, else result is `exp3` |
|
||||
| `=` | Store |
|
||||
| `+=` | Add and store |
|
||||
@@ -191,11 +191,11 @@ In Linux systems:
|
||||
| LR | `==`, `!=` |
|
||||
| LR | `&` |
|
||||
| LR | `^` |
|
||||
| LR | `|` |
|
||||
| LR | | |
|
||||
| LR | `&&` |
|
||||
| LR | `||` |
|
||||
| LR | | | |
|
||||
| RL | `? :` |
|
||||
| RL | `=`, `+=`, `-=` ,`*=`, `/=`, `%=`, `>>=`, `<<=`, `&=`, `^=`, `|=` |
|
||||
| RL | `=`, `+=`, `-=` ,`*=`, `/=`, `%=`, `>>=`, `<<=`, `&=`, `^=`, |= |
|
||||
| LR | `,` |
|
||||
|
||||
|
||||
@@ -229,6 +229,4 @@ In Linux systems:
|
||||
statement_sequence /* the expression. This is optional */
|
||||
}
|
||||
|
||||
---
|
||||
|
||||
---
|
||||
Reference in New Issue
Block a user