Sail E0 Webinar
Question
Which of the below statements is equivalent to $add += $add ?
Options:
A .  $add = $add
B .  $add = $add +$add
C .  $add = $add + 1
D .  $add = $add + $add + 1
Answer: Option B


a += b is an addition assignment whose outcome is a = a + b. Same can be done with subtraction,multiplication,division etc.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers