Ques : What is Strlen Function

Ans :

The strlen function returns the length of a string. It takes the string name as argument.
The syntax is as follows:

n = strlen (str);

where str is name of the string and n is the length of the string, returned by strlen
function.

Leave a Reply