What does the increment operator (++x) do in C#?
A. Doubles the value of x
B. Increases the value of x by 1
C. Halves the value of x
D. None of the above
Answer: Option B
Related Questions on Operators and Expressions in C Sharp
What does the modulus operator (%) do in C#?
A. Increments the operand by 1
B. Returns the quotient of a division
C. Performs multiplication
D. Returns the remainder of a division
Join The Discussion