Assuming that text is a variable of type string, what will be the contents of text after the statement cin >> text; is executed if the user types Hello World! then presses Enter?

a. "H"
b. "Hello"
c. "Hello World"
d. "Hello World!"

b. "Hello"

Computer Science & Information Technology

You might also like to view...

Where is the motherboard on a tower computer?

A) On the bottom B) On the side C) On the top D) In the middle

Computer Science & Information Technology

Case-Based Critical Thinking QuestionsCase 6-1Gabe is learning how to add graphics to a worksheet. Kyra, who has more experience, answers several questions Gabe has.Gabe asks Kyra how he can resize a graphic inserted into his worksheet. Kyra says he can _____.

A. use the round handle at the top of the graphic B. use the handles that appear on the edges of a selected graphic C. use the Zoom option D. drag the graphic

Computer Science & Information Technology