What is the output of the following code?

```
string s("abc");
s.append("welcome", 3);
cout << s << endl;
```

a. welcomeabc
b. abcwel
c. abc
d. abcwelcome

b. abcwel

Computer Science & Information Technology

You might also like to view...

The ________ topology uses tokens to control data transmission

Fill in the blank(s) with correct word

Computer Science & Information Technology

How long will most people wait for a web page to load?

A) Only 20 seconds B) Only 3 seconds C) Only 34 seconds D) Only 8 seconds

Computer Science & Information Technology