Code:
array[0]=0x11;
array[1]=0x22;
array[3]=0x33;
array[4]=0x44;

unsigned int convert4CharArrayToInt(char array[])
{
	int intvar=0;
	intvar = * (int *) &array[0];    
	 
	return intvar;

}

returns:  0x44332211
why does this code reverse the byte order