The blog is use for self study/ learning purpose. Good Luck !! Jay Hind !! PSPD !!!
#include<stdio.h>
#include<conio.h>
void main()
{
int len=0, i=0;
char st[97];
clrscr();
printf("Enter string: ");
scanf("%s", st);
while(st[i] != '\0')
len++;
i++;
}
printf("\n\nYour String is %s and length is %d", st, len);
getch();
No comments:
Post a Comment