Strings
The sequence of characters enclosed in quotation mark is called……
a) character
b) string
c) array
d) library
Which header file is used to include
the string object functions in C++?
a) #include <string, h>
b) #include <Cstring>
c) #include <string>
d) @include <string.cpp>
What is the correct format for defining C++ string?
a) data type string[size];
b) string name datatype[size];
c) data type char[size];
d) none of these
Which of the following header file is used to handle string in C++?
a) <string>
b) <cstring>
c) <iostream>
d) none of these
Strings are accessed by variables of types….
a) int
b) char
c) Boolean
d) none of these