C Piscine Exam 01 _top_ Direct

One of the most notorious "features" of the C Piscine Exam 01 is the total absence of the printf function.

Example:

15. ft_recursive_factorial

Exam 01 is where the Piscine stops being about "learning C" and starts being about thinking in C. It is the filter. By the time you sit down for this 4-hour, no-internet, no-phone, strict-shell-environment exam, you have survived approximately one week of hell. You know what a pointer is in theory. But do you own it? c piscine exam 01

int my_strcmp(const char *a, const char *b) 
  while (*a && (*a == *b))  a++; b++; 
  return (unsigned char)*a - (unsigned char)*b;
  • Iterate chars, track in_word state, increment when entering a word.

Sample Solution Snippet (ft_atoi_base)

int	ft_atoi_base(const char *str, int str_base)
Toggle Spoilers