Question d’entretien chez Microsoft

Optimize the following C code to decrease the overall O value