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

Write a function that takes an int and converts it to a null-terminated string.
The function returns the result in a char array that you must allocate.

Your function must be declared as follows:

char	*ft_itoa(int nbr);