answersLogoWhite

0

-=

Example:

variable = 5

variable -= 2

will out put 5

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Why are increment and decrement used in c?

To increment or decrement a value


Decrement operators programing in java?

The decrement operator is simply the double minus, attached to a variable:a--;or:--a;The two examples above are identical, and both are equivalent to:a -= 1;or:a = a - 1;However, if the decrement operator is used as part of more complicated expressions, in the --variable version, the decrement is done before anything else, while in the variable-- version, the decrement is done after anything else.


What is the opposite word of improvement?

Decrement By Nagaraj naga.ambati@gmail.com Decrement By Nagaraj naga.ambati@gmail.com


What is the opposite of the word increment?

The process of decreasing in number, size, quantity, or extent.Decrease, loss, decrement, reduction, diminution, decline, decay, etc. Decrement.


How do you apply the decrement factor if you find that the contractor appears to have overestimated the proposal price?

Multiply the decrement factor by the total cost of all sampled items


What is the advantage of using file compression?

decrement in file size.........


Which arithmatic operations can be performed on pointers?

Increment and decrement only.


What is the difference between predecrement and postdecrement operator in c?

The order of the operations: --p means: decrement the variable, then fetch the new value p-- means: fetch the old value, then decrement the variable


What is a Python that starts with the letter R?

Reticulated Python


How can you offset a pointer in C?

Increment or decrement the pointer by the required offset.


Which network device decrement ttl value?

I believe the router.


Which fields are optional in a for loop?

In a for loop, particularly in programming languages like Python, the fields that are optional include the initialization, condition, and increment/decrement expressions. For instance, in Python, you can create a loop using just the for keyword followed by an iterable, omitting the traditional initialization and increment parts found in languages like C or Java. Additionally, in some languages, such as JavaScript, the loop can be constructed in a way that skips certain parts, leading to variations in syntax and functionality.