Qualcomm interview question

Dynamic array Allocation in C++