The current object is given by

a. this
b. this
c. &this
d. this
e. none of the above

D

Computer Science & Information Technology

You might also like to view...

A(n) ________ box has a combination of buttons or check boxes for user input

Fill in the blank(s) with correct word

Computer Science & Information Technology

What does the code in line 1 do?

``` 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. Creates a string called sentence. B. Initializes a string called sentence. C. Both A & B D. Neither. Strings aren’t initialized that way.

Computer Science & Information Technology