This code is not executable :(
You define int reverse but reverse function doesnt return any value
instead use this (using void):
#include
main()
{
char a[17]="abcdefg";
reverse(a);
printf("\n");
system("PAUSE");
}
void reverse(char *a)
{
if(*a!='\0')
{
reverse(a+1);
}
printf("%c",*a);
}