Xilinx interview question

Questions about pointers and file usage.