What is the output of the following code?
```
string s("abcdefg");
cout << s.substr(1, 3);
```
A. abc
B. bcd
C. a
D. c
B. bcd
You might also like to view...
By default, records in a query are displayed in primary key field order, even if that field is NOT included in the query
Indicate whether the statement is true or false
A(n) ____________________ strip is an appliance designed to protect electrical devices from power problems but that does not contain a battery to keep the computer running.
Fill in the blank(s) with the appropriate word(s).
____ are speakers small enough to place in your ears.
A. Earbuds B. Headphones C. Headsets D. Earplugs
A ____ is a special type of linked list in which objects can only be added to and removed from the top of the list.
A. heap B. stack C. queue D. set