单项选择题

以下程序运行后的输出结果是
#include<stdio.h>
main()
int n=2, k=0;
  while(k++ && n++>2);
 printf("%d %d\n", k, n);

A.0 2
B.1 3
C.5 7
D.1 2