I'm trying to find out where the fundamental data types are stored when a variable is declared and what the binary representation is for the fundamental data types. Below is some code that gets data from beyond the array. The output pertaining to the last line is different depending on how I declare the array YoMammy[]; signed or unsigned. I understand that this is normal but I don't know where the fundamental data type is stored. Is this information stored with the pointers? I understand that an array is just another way to reference pointers.
int main()
{
unsigned int YoMammy[2]={3,7};
cout<<YoMammy[0];
cout<<endl;
cout<<YoMammy[1];
cout<<endl;
cout<<YoMammy[2];
return 0;
}