Mega Code Archive
Categories
/
C++
/
Data Type
Strlen( ) function
#include
#include
char *s1="String length is measured in characters!"; int main( ) { printf("The string length is %d",strlen(s1)); return (0); }