File tree Expand file tree Collapse file tree 1 file changed +29
-3
lines changed
LearningC/C_Language_Shorts Expand file tree Collapse file tree 1 file changed +29
-3
lines changed Original file line number Diff line number Diff line change @@ -95,12 +95,38 @@ void: no variable/value
9595## Operators
9696
9797### binary
98- \+ \- \* / % ^ \
98+ ```
99+ a <op> b, where <op> os one of:
100+ + - * / % (modulo) ^ (power)
101+ ```
102+
99103### unary
100- & | ^ ~
104+ ```
105+ <op>a, where <op> os one of:
106+ & * ~ -
107+ ```
108+
101109### incremental
102- \+ + \- -
110+ ```
111+ <op>a or a<op>, where <op> os one of:
112+ ++ (+=1) -- (-=1)
113+ ```
114+ ### accessing
115+ ```
116+ A.a where A is a struct
117+ returns elemement a
118+ ```
103119
120+ ### bitwise
121+ ```
122+ a<op>b, where <op> os one of:
123+ & (and) | (or) ^ (Xor) ~ (not)
124+ ```
125+ ### logic
126+ ```
127+ a<op>b, where <op> os one of:
128+ && (and) || (or) ^ (Xor) ! (not)
129+ ```
104130
105131## Functions
106132Functions have a ** prototype** which defines parameters and return value.
You can’t perform that action at this time.
0 commit comments