42 Prague: Exam exercises for Pisciners

  • aff.p = write "p\n" for every condition
  • ft_swap - swap values of two variables, prototyped: void ft_swap(int *a, int *b);
  • count_len = return length of a string
  • maff_realpha = write wierd ABC (reversed, every other letter capital)
  • ft_strrev = reverse a string (modify it) + return pointer to the string
  • ft_atoi = string to int (bonus: check if it can be an integer)
  • first_word = print first word (not counting spaces or tab)
  • aff_first_param = print first parameter of the program
  • union - print all nonrepeating char from two strings (no doubles)
  • count_words = count all words in sentence