}
if(m<0) m=-m; while(m/10!=0) { } return k;
k=k+1; m=m/10;
void main() { }
输出: 5.
#include<stdio.h> void 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’: v1+=1; default: v0+=1;v2+=1;
int a=1234;
printf(“%d\n”,len(a));
}while(c!=’\n’);
Printf(“v0=%d, v1=%d, v2=%d\n”,v0,v1,v2);