C2L BIZ interview question

Prog. To reverse the string using recursive method and also write a prog to count no of repeated characters in string