I have the following code which works fine...
int testarr[3][3] = { {1,1,1}, {1,0,1}, {1,1,1} }; [self testCall: testarr];
Which c
call
int testarr[3][3] = { {1,1,1}, {1,0,1}, {1,1,1} }; [self testCall: (int *)testarr];
function
- (void)testCall: (int *) arr { int (*V_arr)[3] = (int(*)[3])arr; NSLog(@"cell value is %u",V_arr[1][1]); }