結果 : how to pass 3d array to function in cpp