![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
[单选题]
若运行以下程序时,从键盘输入ADescriptor<CR>(CR表示回车),则下面程序的运行结果是()。#include<stdio.h> main() { char c; int v0=0, v1=0, v2=0; do { switch(c=getchar()) {case 'a': case 'A': case 'e': case ' E' : case 'i': case 'I' : case 'o': case 'O': case 'u': case 'U': vl+=1; default:v0+=1;v2+=1; while(c!=’\n’); printf("v0=%d,v1=%d,v2=%d\n",v0,v1,v2);
A.v0=8,v1=4,v2=8
B.v0=7,v1=4,v2=7
C.v0=12,vl=4,v2=12
D.v0=11,v1=4,v2=11
查看答案
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)