Skip to content

Latest commit

 

History

History

0x05-pointers_arrays_strings

Tasks for this project

  1. Write a function that takes a pointer to an int as parameter and updates the value it points to to 98
  2. Write a function that swaps the values of two integers
  3. Write a function that returns the length of a string
  4. Write a function that prints a string, followed by a new line, to stdout
  5. Write a function that prints a string, in reverse, followed by a new line
  6. Write a function that reverses a string
  7. Write a function that prints every other character of a string, starting with the first character, followed by a new line
  8. Write a function that prints half of a string, followed by a new line
  9. Write a function that prints n elements of an array of integers, followed by a new line
  10. Write a function that copies the string pointed to by src, including the terminating null byte (\0), to the buffer pointed to by dest