#include <stdio.h>
#include <stdlib.h>
void printReverse(char* s){
if(*(s+1)==0) printf("%c",*s);
else {
printReverse(s+1);
printf("%c",*s);
}
}
int strLen(char* s) {
if(*s==0) return 0;
else return 1+strLen(s+1);
}
int main(int argc, char* argv[])
{
char s[128]="Hello world!";
printReverse(s);
printf("\n");
printf("%d\n",strLen(s));
return 0;
}