Not entirely sure what kind of array that is...but I'm more than confident that an array can only have two values like array b[num][num]...not a third value, you would define those later.
If I have correctly understood you the "access function" for b[4][2][7] (where b[4][2][7] is an element of 3D array b) can not be defined because the definition of the array is unknown. That is it is unknown what the second and the third dimensions of the array are.
Also if to assume that my suggestion is wrong and b[4][2][7] is an array definition then it can not have such element b[2][5][2]. :)