What is the value in n after line 4 is run?

```
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. 23
B. 24
C. 3
D. -1


B

Computer Science & Information Technology

You might also like to view...

A(n) ________ is a vertical group of cells in a worksheet

Fill in the blank(s) with correct word

Computer Science & Information Technology

List three things that you can do by clicking the Advanced button on the Security tab.

What will be an ideal response?

Computer Science & Information Technology

Choose the sentence that demonstrates correct punctuation.?

A. ?"September 11, 2001," a book written by a firefighter, is on the bestsellers list. B. ?September 11, 2001, a book written by a firefighter, is on the bestsellers list. C. ?September 11, 2001, a book written by a firefighter, is on the bestsellers list.

Computer Science & Information Technology

An Input mask controls what can and cannot be entered in a field

Indicate whether the statement is true or false

Computer Science & Information Technology