Source: https://pages.lip6.fr/Souheib.Baarir/Cours-C/TDs/TD-pointeurs.pdf