题目内容

运行下面程序时,从键盘输入字母H,则输出结果是()。#include int main(){ char ch;scanf("%c",&ch);switch(ch){ case ‘H’:printf("Hello!\n");case ‘G’:printf("Good morning!\n");default:printf("ByeBye!\n");}return 0;}

A. Hello!
B. Hello!Good Moring!
C. Hello!Good Moring!ByeBye!
D. Hello!ByeBye!

查看答案
更多问题

设有如下定义:int a=1,b=2,c=3,d=4,m=2,n=2;则执行表达式:(m=a>b)&&(n=c>d)后,n的值为()。

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

The eduational system in the US is not very diferet from____in the UK.

A. that
B. it
C. one
D. ones

Sarah told me that there was_____about my old schol in yesterday's newspaper and the head teacher was referred to in the article.

A. something
B. nothing
C. anything
D. everything

As the flood destroyed the road , Sam had to stay in the village for _______three days.

A. other
B. another
C. the other
D. others

答案查题题库