Which of the following is false?

a. If a string is converted to a C-style array using data, modifying the string could cause the pointer previously returned by data to become invalid.
b. Converting a string containing one or more null characters to a C-style string can cause logic errors.
c. c_str returns a character array of the same length as the string object it is called on.
d. copy implicitly converts a string to a non-null terminated character array.

c. c_str returns a character array of the same length as the string object it is called on.

Computer Science & Information Technology

You might also like to view...

For each user account, Windows Vista creates a(n) ________ labeled with the account holder's name

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following is used to insert images into a world?

a. Billboard b. Dummy c. Pose d. Vehicle e. None of these

Computer Science & Information Technology