The reason it's doing that is because you did not define the contents of the array, so you can't expect it to print out 0-9 or something like that.