+ 1

What does a+=5means

28th Jun 2017, 2:49 AM
Kavita Tripathi
Kavita Tripathi - avatar
2 Answers
+ 2
it means that the value of a is increased by 5 . a+=5 is the same as a=a+5
28th Jun 2017, 3:18 AM
Nirmal Kumar Bhakat
Nirmal Kumar Bhakat - avatar
+ 6
it simply implies a=a+5 a+=5 is known as the shorthand method
28th Jun 2017, 2:55 AM
Vaibhav Tandon
Vaibhav Tandon - avatar