- 11
- 0
- 约8.28万字
- 约 12页
- 2016-11-06 发布于河南
- 举报
SSD6
SSD6
1. Consider the following fragment of C++ source code.
String msg; unsigned int x; int y;
cin msg x y;
cout x + y;
Which of the following is (are) true regarding execution of the segment?
The input statement will always take the same amount of time to execute.
The output statement will always be executed immediately after the input statement.
If x and y are both positive, an integer greater than both will be printed.
(a) II only (b) none (c) I and II only (d) II and III only
Correct answer is (b) See section 1.1.1 of the course notes.
------------------------
原创力文档

文档评论(0)