File tree 2 files changed +8
-6
lines changed
Section05-Structure_of_a_CPP_Program
section5_source_code/BasicIO
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 22
22
- [ ] ` #include <iostream> ` statement
23
23
7 . What will the following code display?
24
24
25
- ``` c++
26
- cout << " Larry" ; cout << " Moe" ; cout << " Curly" ;
27
- ```
28
- ` LarryMoeCurly `
25
+ ``` c++
26
+ cout << " Larry" ; cout << " Moe" ; cout << " Curly" ;
27
+
28
+ LarryMoeCurly
29
+ ```
30
+
29
31
8 . The C++ main function must return _____ when the program terminates successfully.
30
32
- [x] 0
31
33
- [ ] " Success"
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ using namespace std;
7
7
8
8
int main () {
9
9
10
- // cout << "Hello world!" << endl;
11
- cout << " Hello world!" ;
10
+ cout << " Hello world!" << endl;
11
+ // cout << "Hello world!";
12
12
13
13
// cout << "Hello";
14
14
// cout << "World" << endl;
You can’t perform that action at this time.
0 commit comments