Mega Code Archive

 
Categories / C++ / Data Type
 

Strlen( ) function

#include <stdio.h> #include <string.h> char *s1="String length is measured in characters!"; int main( ) {  printf("The string length is %d",strlen(s1));  return (0); }