#include <iostream>
#include <vector>
#include <string>
int *****a(int *****b)
{
return b;
}
int main(int argc, char *argv[], char* env[])
{
// 5D pointer
int *****vstup = new int ****[10];
int *****res = new int ****[10];
// set value for res
*res = new int ***[10];
**res = new int **[10];
***res = new int *[10];
****res = new int[10];
*****res = 10;
// print value
std::cout << "Value: " << *****res << std::endl;
// clean up memory
delete[] ****res;
delete[] ***res;
delete[] **res;
delete[] *res;
delete[] res;
delete[] vstup;
return 0;
}