words = count_words(str, c); result = malloc(sizeof(char *) * (words + 1)); if (!result) return (NULL); // ... fill the array ... result[words] = NULL; return (result);
ft_strcpy , ft_strdup , ft_range , ft_atoi , ft_putnbr
You may encounter tasks related to directory navigation, file counting, or simple shell commands like print_groups or find_sh . 3. The Grading Machine: Moulinette C Piscine Day 01 Exam Instructions | PDF - Scribd c piscine exam 01
This is the new element compared to Exam 00. Typical questions include:
Before the exam, practice using student-made simulation tools like ExamShell or online Piscine simulators. This builds muscle memory for the exact terminal commands required to fetch, log in, and submit assignments during the real test. words = count_words(str, c); result = malloc(sizeof(char *)
Check the "Allowed Functions" section of the subject file immediately.
int ft_strlen(char *str);
The most iconic function of Exam 01 is .
Swaps the values of two integers using their memory addresses. This builds muscle memory for the exact terminal
Exam 01 bridges the gap between basic character manipulation and complex memory pointer logic. You will encounter assignments across several distinct tiers. 1. Basic String and Character Manipulation
“The exam doesn’t check if you know the answer – it checks if you can find it without Google or a compiler.”