What function is used to return the length of a string in C++?
A. length()
B. size()
C. strlen()
D. length
Answer: Option B
Related Questions on Introduction to C plus plus
What does the 'cin' object in C++ represent?
A. File output stream
B. File input stream
C. Standard output stream
D. Standard input stream

Join The Discussion