What is the value in wordSize after line 4 is run?
```
1 string sentence = “C++ is my favorite programming language.”.;
2 string word; = “favorite”
3 int sentSize = sentence.size();
4 int wordSize = word.size();
5 int wordInSentence = sentence.find(word);
```
A. 8
B. 7
C. 6
D. 40
A
You might also like to view...
Once you create a world and start adding objects to it, every object is located somewhere within that 3D world.
Answer the following statement true (T) or false (F)
Which of the following is not a kind of inheritance in C++?
a. public. b. private. c. static. d. protected.
An ________________ modifies or further describes the function of an element
a. tag b. doctype c. attribute d. none of the above
What is another name for a timestamped service ticket?
A. Passcode B. Token C. Password D. Smart card