0
I cannot understand the role of the line "AddOneTo(x)" here.
4 ответов
+ 1
your basically adding one to your factor thats in the ( ). how it works, idk.
0
you run the void AddOneTo(); and you take the variable x to make it work with the integer number that equals. So when you run AddOneTo(x); you run this void with the variable x and this integer increments by 1.
0
so why doesnt it print the incremented value, is it predefined that values will not be incremented and if it is why is it so?
0
When I read it, I thought it would take 5 and add 1 to give you 6