Created
November 5, 2020 08:00
-
-
Save dmshvetsov/bea3a5e30274177e757945cedcc2da6f to your computer and use it in GitHub Desktop.
Credits to Caleb Cury https://gist.github.com/CalebCurry/13b6a476f11f9a979b4c4076960a34be#file-2-2-operators-c
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
//so far we've worked with some basic operators | |
Positive and negative operators (unary) | |
+ | |
- | |
Arithmetic (binary) | |
+ | |
- | |
/ | |
* | |
% | |
Increment Decrement Operators (unary) | |
++ | |
-- | |
Assignment Operators (binary) | |
= | |
+= | |
-= | |
/= | |
*= | |
%= | |
Comparison Operators (binary) | |
== | |
!= | |
< | |
> | |
<= | |
>= | |
Logical operators (binary) | |
&& | |
|| | |
! | |
Conditional operator (ternary) | |
? : | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment