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