Find out the length of the string
#include<stdio.h>
#include<conio.h>
#include<string.h>
main()
{
char str[100],i=0,length;
printf("please enter the string\n");
gets(str);
while(str[i]!='\0')
{
i++;
length=i;
}
printf("\n the length of string is %d",length);
getch();
}
#include<stdio.h>
#include<conio.h>
#include<string.h>
main()
{
char str[100],i=0,length;
printf("please enter the string\n");
gets(str);
while(str[i]!='\0')
{
i++;
length=i;
}
printf("\n the length of string is %d",length);
getch();
}
2 Comments
6C2567EF52
ReplyDeletehacker bulma
hacker bulma
tütün dünyası
hacker bulma
hacker kirala
1C8984650C
ReplyDeleteTakipçi Satın Al
M3u Listesi
Telegram Coin Botları
Kafa Topu Elmas Kodu
101 Okey Yalla Hediye Kodu