Q22
Which of the following is the correct way to decrement a variable by 1 in C#?
A.
x--;
B.
--x;
C.
x -= 1;
AnswerD.
x = x - 1;
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board