Pregunta de entrevista de Qualcomm

C: Structures, dynamic memory allocation,pattern printing