I want to assign a fix memory address to a two dimensional array. Say for example for simple integer we do like this: int *p = (int *)0xabcdf34;
I need to allocate memory starting from fix location say 0xf3ab25 to a two dimensional array. How can I do it. Please help.
EDIT: I am playing with memories. I want to allocate all the memory of a matrix to cache or main memory. I want to check what is the effect on computations and run time. I am using simulator, so i have direct address. Say I want to use matrix of matrix[100][100]
malloc.