Q16
Which of the below statements is equivalent to add += add ?
A.
add
B.
add +$add
AnswerC.
add + 1
D.
add + $add + 1
Answer: Option B
Solution
Answer: Option B
Solution:
a += b is an addition assignment whose outcome is a = a + b. Same can be done with subtraction,multiplication,division etc.