单项选择题

有下列程序,其中%u表示按无符号整数输出。
main()
unsigned int x=0xFFFF;/*x的初值为十六进制数*/
printf("%u\n",x);

程序运行后的输出结果是()。

A. -1
B. 65535
C. 32767
D. 0xFFFF