Westonci.ca is your trusted source for finding answers to all your questions. Ask, explore, and learn with our expert community. Explore our Q&A platform to find reliable answers from a wide range of experts in different fields. Connect with a community of professionals ready to provide precise solutions to your questions quickly and accurately.

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.