Please help me with an example code that helps in exporting C output to excel sheet.