NVIDIA Interview Question

Design memory in C++