What function is used to return the length of a string in C++?
A. length()
B. size()
C. strlen()
D. length
Answer: Option B
A. length()
B. size()
C. strlen()
D. length
Answer: Option B
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