I also sucked a lot with pointers in lite-c, and memory allocations of struct arrays of struct arrays, and access them in several ways, but it was a very useful experience. in C++ and UE4 fortunately you can work with references, which can be more convenient. and in UE4 memory handling is made easier by helpers and garbage collection.