Home > Electronics Tutorials > C Language Tutorial > string.h - strlen

C Language Programming Library Reference Guide

string.h - strlen

Declaration: size_t strlen(const char *str); Computes the length of the string str up to but not including the terminating null character.

Returns the number of characters in the string.

Note: To report broken links or to submit your projects, tutorials please email to Webmaster