What is the output of the following code?

```
string s("abcdefag");
cout << s.find("def") << " " << s.find("a", 3);
```

a. 0 0
b. 3 0
c. 2 4
d. 3 6

d. 3 6

Computer Science & Information Technology

You might also like to view...

Which statement correctly passes the array items to method takeArray? Array items contains 10 elements.

a. takeArray(items[]). b. takeArray(items). c. takeArray(items[9]). d. Arrays cannot be passed to methods—each item must be sent to the method separately.

Computer Science & Information Technology

CTS is inflammation of a tendon due to repeated motion or stress on that tendon.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology