Computer Science, asked by sandeepsoren2080, 10 months ago

Decrement operator _ _ decreases the value of variable by what number

Answers

Answered by Anonymous
0

Answer:

  • Decrement operator decreases the value of variable by number 1.

  • Suppose, the value of x is 3 decrement operator decreases the values of variable x by 1.

  • x = 3
  • x = ;
  • x = 2

Hence proved!!!

Answered by qwcricket10
0

The decrement operator decreases the value of the variable by the number one.

  • We can assign character or numerical values to a variable.
  • The value assigned to a variable can be increased or decreased based on the requirement.
  • The incremental operator ++ is used for raising its value.
  • If the user wants to reduce the value he may use the decrement -- operator.
  • The value decreased when using a decrement operator by one.
Similar questions