Pick out the compound assignment statement.
A. a = a – 5
B. a = a / b
C. a -= 5
D. None of the mentioned
Answer:A
Pick out the compound assignment statement.
A. a = a – 5 B. a = a / b C. a -= 5 D. None of the mentioned
Explanation:When we want to modify the value of a variable by performing an operation on the value currently stored, We will use compound assignment statement. In this option, a -=5 is equal to a = a-5.