NVIDIA interview question

C knowledge, pointers, segmentation fault, memory management