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.
You might also like to view...
Discuss the differences between DDL and DML? What operations would you typically expect to be available in each language?
What will be an ideal response?
How would you identify attributes from a user’s requirements specification and then associate the attributes with entity or relationship types?
What will be an ideal response?