interfacing arduino to 24C65

Sv1eed is right.

Look at this code : Arduino Playground - I2CEEPROM

I don't understand this :

  Wire.send((int)(eeaddresspage >> 8)); // MSB
  Wire.send((int)(eeaddresspage & 0xFF)); // LSB

Why a cast (int) as Wire.send() takes a byte (as explained by Sv1eed) and what is the need for "& 0xFF" ? There is a short note about 6-bit end will wrap around..

These questions are only for culture, as both code may work.