aboutsummaryrefslogtreecommitdiff
path: root/exam_final/subjects/7-0-ft_itoa/subject.fr.txt
blob: 6acf5dff0fcfc007c265edb159f8e0717a3f088d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Assignment name  : ft_itoa
Expected files   : ft_itoa.c
Allowed functions: malloc
--------------------------------------------------------------------------------

Écrire une fonction qui prend un int et le convertit en chaîne terminée par un
caractère nul. Cette fonction retourne le résultat en tant qu'un tableau de
char que vous devez allouer.

Votre fonction sera déclarée comme suit:

char	*ft_itoa(int nbr);