Vidyalelo
C# Programming · Q31

Operators and Expressions in C Sharp

Programming · C# Programming · question 31

Q31

What does the decrement operator (--x) do in C#?

A.
Increases the value of x by 1
B.
Doubles the value of x
C.
Halves the value of x
D.
Decreases the value of x by 1
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board