What is the output of the following code?

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

A. abc
B. abcwelcome
C. welcomeabc
D. abcwel


D. abcwel

Computer Science & Information Technology

You might also like to view...

Which of the following is a metric that predicts the equipment runtime before a failure requires the equipment to be replaced?

a. MTTF b. MTBF c. MTTR d. All of the above are correct. e. None of the above is correct.

Computer Science & Information Technology

The command to display the contents of the variable named myvar is

a: echo myvar b: echo $myvar c: display myvar d: $myvar e: none of the above

Computer Science & Information Technology

All of the following methods are used for securing communications with Web browsers EXCEPT ________

A) Electronic Data Interchange (EDI) B) Secure Socket Layer (SSL) C) Certificate Authority (CA) D) Transport Security Layer (TSL)

Computer Science & Information Technology

The Insert WordArt button is on the ________ tab of the Ribbon

A) Page Layout B) View C) Insert D) Home

Computer Science & Information Technology