Program to Illustrate “strlen” function

#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
int len=strlen("Hello");
clrscr();
printf("\nLengh of String Hello = %d",len);
getch();
}

Leave a Reply