New course! Every coder should learn Generative AI!
Try a free lesson0
What is the ++ term?
refer to question.
2 Answers
0
It's increment the current value of the x variable by one and assign the new value to that variable.
In that loop if the increment statement written as x+=2 then current value of the x is added by 2 and that new value assign to the the varible x.
0
++ term's meaning is an increment. ++i and i++ is different