Solved

Which of the Following Is False

Question 14

Multiple Choice

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.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions