Multiple Choice
Suppose str = "ABCDEFGHI".The output of the statement cout << str.length() << endl;
Is ____.
A) 7
B) 8
C) 9
D) 10
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: Consider the declaration: enum sports {BASKETBALL, FOOTBALL,
Q3: In C++, namespace is a reserved word.
Q4: Suppose that you have the following declaration.
Q5: Which of the following statements creates an
Q6: Which of the following statements declares the
Q7: Considering the statement string str = "Gone
Q8: Suppose str = "xyzw";.After the statement str[2]
Q9: The general syntax for accessing a namespace
Q10: An enumeration type can be passed as
Q11: A data type wherein you directly specify