(SOLVED)Can any one help?

Is this correct?

Yes. Keep in mind that the NULL takes up one of the elements in the array. The cutoff for not writing any more to the array is when the NULL was just written to the last position (position 15 in a 16 element array).