K
Keith Thompson
Richard said:Wrong.
Whichever way you look at it i is set to the value 0. In programming
this is known as assignment. And I dont see any reason to confuse a
noob by saying any different.
Of course I am trying to use natural English and not be too clever for
my own good.
The C language distinguishes between "initialization" and
"assignment". I apparently have a higher opinion of mdh's
intelligence than you do; I don't think he'll have any trouble
understanding the distinction.
If you call them both "assignment", it just makes it more difficult to
explain why one is allowed outside functions and the other is not --
which is exactly what we're discussing in this thread.
We didn't just make up these terms for the fun of it, and they
certainly weren't invented with the intention of confusing people.