MyArray[][][]; Of course, you add the type of array in front of the declaration. That is: int, char, string etc.
Also, inside each set of brackets, put in your sizes.
I'd prefer to answer with "you don't - whatever you were trying to do with a 3D array can be done better without one" - actually, unless you're using C, you probably don't wanna use C style arrays at all - use std::vector and std::array instead. Still not for 3D arrays though.
For the sake of completeness, you can declare one like this:
int arr[L][W][H];
where L, W and H are compile time constants, or like this: