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.


Take a Study Break

Green YOUR SCHOOL!

Click here to get involved with dosomething.org!

John Krasinski's BIG MIRACLE

Click to watch the trailer and read exclusive star interviews!

Do you like Anna?

Read Dear Albert... from ANNA's perspective!

BATTLESHIP, the movie

Here's why we're super jazzed about it.


The Book

Cover image

Read What You Love, Anywhere You Like

Get Our FREE NOOK Reading Apps