Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 18 lines (16 sloc) 172 Bytes
#include<stdio.h>
void rev(char *);
int main()
{
char str[100]="This is Rajeev";
rev(str);
return 0;
}
void rev(char *t)
{
if(*t)
{
rev(t+1);
}
printf("%c",*t);
}