Bloomberg Interview Question

Pointers based question with pre-written code - "Why doesn't this code work"