Answers for "strlen syntax"

C
0

strlen

#include <string.h>

int dim = strlen(name_string);
Posted by: Guest on February-02-2021
0

strlen

#include <stdio.h>
#include <string.h>
int main()
{
     char str1[20] = "BeginnersBook";
     printf("Length of string str1: %d", strlen(str1));
     return 0;
}
Posted by: Guest on December-29-2021

Code answers related to "C"

Browse Popular Code Answers by Language