About 157,000 results
Open links in new tab
  1. Assignment Operators in C++ - GeeksforGeeks

    Jan 8, 2025 · There are 10 compound assignment operators in C++: Lets see each of them in detail. 1. Addition Assignment Operator (+=) In C++, the addition assignment operator (+=) …

  2. C++ Assignment Operators - W3Schools

    Assignment operators are used to assign values to variables. In the example below, we use the assignment operator (=) to assign the value 10 to a variable called x:

  3. C++ Arithmetic Operators - GeeksforGeeks

    Jan 21, 2025 · Arithmetic Operators in C++ are used to perform arithmetic or mathematical operations on the operands (generally numeric values). An operand can be a variable or a …

  4. Arithmetic operators - cppreference.com

    Jun 24, 2024 · Returns the result of specific arithmetic operation. All operators in this table are overloadable. All built-in operators return values, and most user-defined overloads also return …

  5. C++ Assignment Operator Overloading - GeeksforGeeks

    Apr 3, 2025 · Assignment Operators are predefined to operate only on built-in Data types. Assignment operator overloading is binary operator overloading. Overloading assignment …

  6. Operators - C++ Users

    Compound assignment operators modify the current value of a variable by performing an operation on it. They are equivalent to assigning the result of an operation to the first operand: …

  7. Assignment operators - cppreference.com

    Jan 25, 2024 · Assignment operators modify the value of the object. All built-in assignment operators return *this, and most user-defined overloads also return *this so that the user …

  8. 6.2 — Arithmetic operators – Learn C++ - LearnCpp.com

    Feb 14, 2025 · The assignment operators, including the standard assignment operator (=), the arithmetic assignment operators (+=, -=, *=, /=, and %=), and the bitwise assignment operators …

  9. C++ Operators - Programiz

    Operators are symbols that perform operations on variables and values. For example, + is an operator used for addition, while - is an operator used for subtraction. Operators in C++ can be …

  10. Arithmetic Assignment Operators in C++ - Pedagogy Zone

    Nov 14, 2023 · There are arithmetic assignment operators corresponding to all the arithmetic operations: +=, -=, *=, /=, and %= (and some other operators as well). The following example …

  11. Some results have been removed
Refresh