You can do this, as in Tamalero's answer , but as you could get, it can get a little cumbersome.
An alternative is routine indexing, i.e. allocating a compact array of only data (integers), without pointers.
, :
const size_t ws = 17000, xs = 10, ys = 6, zs = 6;
int *array = malloc(ws * xs * ys * zs * sizeof *array);
array[w * (xs * yz * zs) + x * (ys * zs) + y * zs + z] = 4711;
, .
, , , , () , .. 1 - .