Vidyalelo
C++ Programming · Q15

Introduction to C++

Programming · C++ Programming · question 15

Q15

What function is used to return the length of a string in C++?

A.
length()
B.
size()
Answer
C.
strlen()
D.
length

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board