Hexagon Interview Question

My questions mainly focused on pointers and Data Structures.