Examveda
Examveda

What is the purpose of the 'strlen()' function in C++?

A. Concatenates two strings

B. Compares two strings

C. Returns the length of a null-terminated string

D. Copies a string to another string

Answer: Option C


Join The Discussion

Related Questions on Arrays and Strings in C plus plus