Question d’entretien chez Arm

How would you rewrite the given C code.