Your example will initialize element 100(which you don't actually have) to whatever the current value of count is + 1...it should be:<P>for (int count = 0; count ...