About 78,900 results
Open links in new tab
  1. Decrement (--) - JavaScript | MDN

    Jul 8, 2025 · The -- operator is overloaded for two types of operands: number and BigInt. It first coerces the operand to a numeric value and tests the type of it. It performs BigInt decrement if …

  2. Increment and decrement operators - Wikipedia

    In languages syntactically derived from B (including C and its various derivatives), the increment operator is written as ++ and the decrement operator is written as --.

  3. Increment and Decrement Operators in C - GeeksforGeeks

    May 21, 2025 · The increment ( ++ ) and decrement ( -- ) operators in C are unary operators for incrementing and decrementing the numeric values by 1, respectively. They are one of the …

  4. Increment ++ and Decrement -- Operator as Prefix and Postfix

    In this article, you will learn about the increment operator ++ and the decrement operator -- in detail with the help of examples in Java, C, C++ and JavaScript.

  5. Prefix Increment and Decrement Operators: ++ and

    Aug 11, 2025 · The prefix decrement operator (--) is analogous to the prefix increment operator, except that the operand is decremented by one and the result is this decremented value.

  6. 6.4 — Increment/decrement operators, and side effects

    The prefix increment/decrement operators are very straightforward. First, the operand is incremented or decremented, and then expression evaluates to the value of the operand.

  7. JavaScript Decrement Operator - W3Schools

    Description The decrement operator (--) subtracts 1 to the operand. If it is placed after the operand, it returns the value before the decrement. If it is placed before the operand, it returns …

  8. Increment/decrement operators - cppreference.com

    Jan 20, 2025 · Increment and decrement operators are overloaded for many standard library types. In particular, every LegacyIterator overloads operator++ and every …

  9. Increment and Decrement Operators – Programming Fundamentals

    Increment and decrement operators are unary operators that add or subtract one from their operand, respectively. They are commonly implemented in imperative programming languages.

  10. Increment and Decrement Operators in Programming

    Jul 23, 2025 · Decrement operators are used in programming languages to decrease the value of a variable by one. Similar to increment operators, there are two types of decrement operators: …