#include <stdio.h>
/* A recursive strlen */
int slen(char *s)
{
return (*s) == '\0'? 0 : slen(s++) + 1;
}
int main()
printf("strlen is %d\n", slen("abcdefg"));