Discover the answers you need at Westonci.ca, a dynamic Q&A platform where knowledge is shared freely by a community of experts. Get immediate and reliable solutions to your questions from a community of experienced experts on our Q&A platform. Experience the ease of finding precise answers to your questions from a knowledgeable community of experts.

This function returns the length of a string:

A. length
B. len
C. size
D. lengthof


Sagot :

Answer:

The strlen() function calculates the length of a given string.The strlen() function is defined in string.h header file.

Explanation:

It doesn’t count null character ‘0’. Syntax: int strlen(const char *str); Parameter: str: It represents the string variable whose length we have to find. Return: This function returns the length of string passed.