Source: https://www.fresnel.fr/perso/stout/langage_C/Chap_4_Boucle_for