Fortinet interview question

Write C code to remove comments from a file