document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. int someValue;
  2.  
  3. someValue = +1; // Unary Operator that signifies positive numbers.
  4. someValue = -1; // Unary Operator that signifies negative numbers, can also be used to flip the sign of a value.
  5. someValue++; // Unary Operator that increments by one after evaluation.
  6. ++someValue; // Unary Operator that increments by one before evaluation.
  7. someValue--; // Unary Operator that decrements by one after evaluation.
  8. --someValue; // Unary Operator that decrements by one before evaluation.
  9.  
  10. someValue = 1 + 1; // Binary Operator that does addition.
  11. someValue = 1 - 1; // Binary Operator that does subtraction.
  12. someValue = 1 * 1; // Binary Operator that does multiplication.
  13. someValue = 1 / 1; // Binary Operator that does division.
  14. someValue = 1 % 1; // Binary Operator that does remainder.
  15.  
  16. someValue += 1; // Compound Operator that does addition. Same as: someValue = someValue + 1;
  17. someValue -= 1; // Compound Operator that does subtraction. Same as: someValue = someValue - 1;
  18. someValue *= 1; // Compound Operator that does multiplication. Same as: someValue = someValue * 1;
  19. someValue /= 1; // Compound Operator that does division. Same as: someValue = someValue / 1;
  20. someValue %= 1; // Compound Operator that does remainder. Same as: someValue = someValue % 1;
');