What does the code in line 8 produce?
```
1 string s, t;
2 s = “Get up and go to school!”;
3 t = “NO!”;
4 int n = s.size();
5 int w = s.at(3);
6 int x = s.at(12);
7 s += t;
8 cout << s;
```
A. “Get up and go to school!”
B. “NO!”
C. “Get up and go to school!NO!”
D. Nothing. That isn’t how you display strings.
C
Computer Science & Information Technology
You might also like to view...
Local user accounts can be used to access resources on other computers in a workgroup or a domain.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
Why might an auditor use a program flowchart?
What will be an ideal response?
Computer Science & Information Technology