Example for multi-dimensional (4-above) arrays in C++ | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Example for multi-dimensional (4-above) arrays in C++

I know that we can have arrays with unlimited dimensions but I wonder how it will look like. For example how should we initialize an array like arr[3][3][3][3]. And since the 4th dimension is not comprehensible for human beings, is it useful at all?

30th Apr 2021, 7:14 AM
Koorosh Nobakhtfar
Koorosh Nobakhtfar - avatar
1 ответ
+ 1
Well thank you for your anwser. But my problem is with initialization, not declaration
30th Apr 2021, 8:49 AM
Koorosh Nobakhtfar
Koorosh Nobakhtfar - avatar