Some students waste time on a level 03 they can't solve → missing easy points from level 00–01.

Prototype: void ft_swap(int *a, int *b); Goal: Swap the values of two integers using pointers. Common pitfall: Students pass integers directly instead of addresses, or they fail to use a temporary variable.

Given the specificity of your query, if you have more details about the exam (like specific topics, format, etc.), I could offer more targeted advice.


Beyond the technical checklist, Exam 01 is a lesson in:

If you get ft_range or ft_ultimate_range, take a deep breath.

int *ft_range(int min, int max)
int *range;
    int i;
    int size;
if (min >= max)
    return (NULL);
size = max - min;
range = (int *)malloc(sizeof(int) * size);
if (!range)
    return (NULL);
i = 0;
while (min < max)
range[i] = min;
    min++;
    i++;
return (range);

Based on hundreds of Piscine alumni reports, here is the optimal timeline for the 4 hours.

Exam 01 is not just a test of C; it is a test of composure. The environment is designed to be hostile.

The Golden Piscine Rule: "If you are stuck, write a write." Even if you cannot solve the complex recursion, can you print the arguments? Can you write a specific character? Partial points are not awarded, but simply seeing any output (even wrong output) breaks the psychological paralysis. Once you see output, you can debug.