Exam 01 Piscine 42 〈GENUINE ⇒〉

ft_putchar('\\'); ft_putchar(hex[str[i] / 16]); ft_putchar(hex[str[i] % 16]);

This will fail all tests, but it satisfies the compiler. However, do not rely on this—Moulinette will give 0. Exam 01 Piscine 42

: Generating combinations of numbers (e.g., print_comb ) or calculating factorials and powers. ft_putchar(hex[str[i] / 16])

int ft_strlen(char *str); Goal: Return the number of characters in a string (excluding the null terminator \0 ). Common pitfall: Infinite loops due to forgetting the \0 check. ft_putchar(hex[str[i] % 16])

– Forgetting to check for forbidden functions, wrong indentation, too many lines. Fix: Run norminette before submitting.