CommScope interview question

C coding and memory management.