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:

Verified
Correct Answer:
Verified
Q9: Given the strings defined below, which statement
Q10: Which of the following is an invalid
Q11: What type of value is returned by
Q12: Which of the statements a), b) and
Q13: Strings:<br>A) Can use the subscript operator to
Q15: Iterators do not:<br>A) Allow the characters to
Q16: Which of the following returns a bool?<br>A)
Q17: What is the code for a loop
Q18: Which of the following is not an
Q19: If string s contains "antidisestablishmentarianism", then s.substr(7,