Consider the following statements:string str = "ABCDEFD";string::size_type position;After the statement position = str.find('D'); executes, the value of position is ____.

A. 3
B. 4
C. 6
D. 7

Answer: A

Computer Science & Information Technology

You might also like to view...

A technician performed a clean install of Windows XP on a laptop and finds that the Bluetooth on/off switch is not working. Which of the following will BEST resolve this issue?

A. Replacing the keyboard B. Installing service pack 3 C. Reinstalling the operating system with Windows XP Media Center D. Installing the Bluetooth stack/driver

Computer Science & Information Technology

A disk that is initialized via the Disk Management MMC is initialized as a MBR disk by default.

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

Computer Science & Information Technology