Strings
- Which method do we use to append more than one character at a time?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
data
- Which is an instantiation of the basic_string class template?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
The string class is an instantiation of the basic_string class template.
- Which character is used to terminate the string?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
A string of characters is stored in successive elements of a character array are terminated by the NULL character.
- How does the strings are stored in the memory?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
The characters of a string are stored contiguously in the memory.
- Where are the strings stored?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Both Stack & Heap