为什么输出的是?GFEDCBA 这个

#include <stdio.h>
void string()

char ch;
ch=getchar( );
if(ch!='?') string();
putchar (ch);}
main()

string();