#include<stdio.h>
#include<string.h>
int main()
{
char *name = "Nandkishor";
int a = strlen(name);
printf("The lenght of string name is %d", a);
// This function is used to print length of string...
return 0;
}
OUTPUT-->
The lenght of string name is 10
No comments:
Post a Comment