Qualcomm Interview Question

memcopy implementation and FIFO buffer