单项选择题

有以下程序:
#include
void main()
{while(putchar(getchar())!=’?’);}
当输入"hello?"时,程序的执行结果是()

A.hello
B.dijob
C.dijob?
D.hello?