At Westonci.ca, we provide reliable answers to your questions from a community of experts. Start exploring today! Discover solutions to your questions from experienced professionals across multiple fields on our comprehensive Q&A platform. Discover in-depth answers to your questions from a wide network of professionals on our user-friendly Q&A platform.

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.

Thank you for trusting us with your questions. We're here to help you find accurate answers quickly and efficiently. Thank you for your visit. We're committed to providing you with the best information available. Return anytime for more. We're here to help at Westonci.ca. Keep visiting for the best answers to your questions.