Brocade interview question

C, data structures, Programming