adplus-dvertising
frame-decoration

Question

Which function is offered by C++ for obtaining the length of any string?

a.

len ( )

b.

strlen ( )

c.

string_length ( )

d.

length ( )

Answer: (b).strlen ( )

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which function is offered by C++ for obtaining the length of any string?