By running this code
char array[6];
int i;
for ( i = 0; i < 6; ++i )
printf("%i ", array[i]);
Possible output:
64 0 -64 77 67 0
I get always the last element 0, although I was expecting random value. It is compiler dependent? I'm using gcc.