I try to store an address in a variable. This address should be like an array. Every new data I get from the input should be saved in the address of the variable + index.
int RF = 0x15; // address array
int R2 = 0 ; // index
*(RF + R2) = 100;
But When I compile it I get this error:
error: invalid type argument of unary ‘*’ (have ‘int’)
Does anyone have an Idea why?