Pergunta de entrevista da empresa Qualcomm

Write a function in C to merge two sorted arrays into a single sorted array.