皮皮学,免费搜题
登录
搜题
【简答题】
分析并修改下面程序,使该程序能正常退出循环并运行。 提示:只要能修改程序,使之退出无限循环即可,所以答案不唯一。 #include main( ) { int x,y; x=2; y=0; while (!y--) printf (" % d, % d\n",x, y++); }
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】C#中执行下列语句后,整型变量x和y的值分别为( )。 int x = 100; int y = ++x;
A.
x=100  y=100
B.
x=101  y=100
C.
x=100  y=101
D.
x=101  y=101
【单选题】In the past few months, a discussion ________about whether selecting “Three Goods” Students in elementary and middle schools should be cancelled.
A.
has to be held
B.
has been held
C.
has been holding
D.
was held
【单选题】执行下列语句:int x = 5; double y; y = x / 2; 执行后变量y的数据类型和值分别为( )。
A.
int, 2.5
B.
int, 2
C.
double, 2.0
D.
double, 2.5
【判断题】对于Cortex-M4的状态寄存器可以通过一般的指令来访问
A.
正确
B.
错误
【单选题】听力原文: Once again in Richfield Heights today, there were no classes in the public elementary and secondary schools. This marks the eleventh day that the schools in that community have remained closed. ...
A.
Vacations.
B.
Wages.
C.
Overcrowded classrooms.
D.
Paid sick leaves.
【单选题】According to the passage a neutron star is ______.
A.
a gaseous cloud containing heavy elements
B.
an intermediate stage between an ordinary star and a supernova
C.
the residue that is left by a supernova
D.
the core of an ordinary star that houses the thermonuclear reactions
【单选题】听力原文:What is intercultural communication according to the speaker? (31)
A.
Language elements.
B.
Cultural differences.
C.
Something happens when people from another culture want to communicate.
D.
Practical problems in communications between different cultures.
【简答题】What is the passage mainly about? A) Different ways of treating socio-cultural elements in the three new English dictionaries. B) A comparison of people’s opinions on the cultural content in the three...
【单选题】执行下列语句:istringstreamstrin(“38.5”);doublex=0,y=0;strin>>x>>y;执行后变量x和y的值分别为( )。
A.
0, 0
B.
3.0, 8.5
C.
8.5, 3.0
D.
3, 8
【单选题】执行下列语句:int x = 5, y; y = x / 2; 执行后变量y的数据类型和值分别为( )。
A.
int, 2.5
B.
int, 2
C.
double, 2.0
D.
double, 2.5
相关题目: