You will see that there is a function called CreateMap which has a loop that prints the map array by cout << map[i]. Though I thought to print out a 2D array it should be cout << map[i][j].
How in his video did he print out the whole 2D array map by only printing the array as 1D?
In an expression like cout << "Hello\n", the type of the string literal "Hello\n", is char const[7]. cout makes the assumption that this array of (const) char represents a C-string, and puts the whole string into the stream.
In this particular case, the object map has the type char[X][Y]. The element type of the array (the type of map[i]) is char[X].
Give an array of char to cout, and it is treated like a C-string. The whole string is put into the stream.