Exam 01 Piscine 42 Exclusive
int main(void) // Hidden from Moulinette, but useful for your own testing
write(1, &str[i], 1); i++;
if (!str) // Check for NULL return; while (*str) write(1, str++, 1); exam 01 piscine 42 exclusive
You cannot iterate using a for loop that decrements. You must use a while loop with a counter. Additionally, you cannot use any standard library function (no strlen from <string.h> ). int main(void) // Hidden from Moulinette, but useful
ft_putstr("Hello Exam 01"); return (0);
But here is the secret: It is not hard. The code is trivial. The real test is whether you can follow exact instructions, respect the Norm, and manage anxiety. int main(void) // Hidden from Moulinette
void ft_putstr(char *str)