What is the difference between ++i and i++?
I haven't really understood the difference between
i++
and ++i
I haven't really understood the difference between
i++
and ++i
vhstape,
i++
gives the current value ofi
and then increments it, while++i
increments it and returns the new value
Add comment