Decrement operator, −−, decreases the value of variable by what number?
A. 1
B. 2
C. 3
D. 4
This question was addressed to me during an online exam.
I want to ask this question from Arithmetic Operators in division Operators and Control Statements of Java
The correct answer is A. 1
To elaborate: None.