
Suppose str = "ABCDEFG".The output of the statement
cout << str.length()<< endl;
is ____________________.
Correct Answer:
Verified
Q21: The string expression strVar._ inserts all the
Q26: Consider the following statements: string str1 =
Q31: The length of the string "Hello There."
Q38: The string expression strVar._ starts at index
Q41: The string expression strVar._ returns the index
Q42: The string expression strVar._ deletes n characters
Q43: Suppose str = "abcd"; After the statement
Q45: The data type string has a named
Q46: For the operator + to work with
Q48: Suppose str = "abcd".After the statement str
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents