Home > SparkNotes > Computer Science Study Guides > Memory >

sparknotes

Arrays: Memory


Problems

Problem : Print out the characters in a string str by looping through the string using pointer arithmetic.


Problem : Write a recursive version of the function strlen that takes one argument, a char * and returns the length of the string. You may assume that the argument will be a valid, null-terminated string.