i2c communication problem with two arduinos

@OP: always use the code tags for code to avoid the interpretation problems that countrypaul mentioned. An array index with variable i:

array[i] = a;

get to this without the tags:

array = a;