Here's the code.
int strlen_rec(char arr)
return 1 + strlen_rec(&arr) ;
This function counts the length of a string using recursion. It may look confusing since it's using an array like a pointer.
&ar is increasing the pointer (calling the function with the address of the next byte). C strings are terminated with a null byte which isn't included in the length so it returns 0 when reached.