Expand your knowledge base with the help of IDNLearn.com's extensive answer archive. Our platform is designed to provide accurate and comprehensive answers to any questions you may have.
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.