单项选择题

请读程序:
# include<stdio.h>
main( )
int num=0;
while(num<=2)
num+ +;printf("%d\n",num);
上面程序的输出结果是()。

A、1
B、2
C、3
D、4