单项选择题执行下面的程序时,输入abc<CR>(其中CR代表回车),输出结果是( )。 #include<stdio.h> #include <string.h> main() char ch; while((cn=getchar())!=’n’) switch(ch-’a’) case 0: putchar(ch+1); case 1:putchar(ch+1);break; case 2:putchar(ch+2); caSe 3:putchar(ch+2);break;
单项选择题有以下程序: int f1(int x,int y) return x>yx:y; int f2(int x,int y) return x>yy:x; main() int a=4,b=3,c=5,d,e,f; d=fl(a,b);d=f1(d,c); e=f2(a,b);e=f2(e,c); f=a+b+c-d-e; printf( %d,%d,%d n ,d,f,e); 执行后输出结果是( )。