the language dont support null terminator to int arrays , which is since compiler would have ambiguity that is that null terminator or 0 in int array...
it is the same reason due to which
cout< give complete array of character i.e. complete string
and this dont
cout< for a 1-d int array a...infact it gives an error message and dont prints the complete 1-d array...
upvote if i somewhere satisfied / solved your query...