Correct following program.
The function strlength returns the length of the string s.
strlength
s
int strlength(char *s) { if (*s != '\0') return 1; else return 1 + strlength(s); }