abhijeetgund34 / C-language-

0 stars 0 forks source link

Length Of String #3

Open abhijeetgund34 opened 7 years ago

abhijeetgund34 commented 7 years ago

include

include

void main() { char s1[]="HelloWorld"; int i=0; clrscr();

while(s1[i]!='\0') { i++; } printf("length of string %s is %d",s1,i); getch(); }