Technicalsymposium.com-Free Email Alerts


Enter Your Email :

Important Note:Login & Check Your Email Inbox and Activate Confirmation Link

Subscribe & Get All Fresher Jobs Information & Study Materials PDF and Projects- Free Download

C Programming Books PDF


C Aptitude Question Papers


Datastructure Programming in C



C Programming & Tech Interview Materials PDF- Free Download

C Program for String Length.

void main()

{

int i,c=0;

char a[50];

clrscr();

printf("OUTPUT\n");

printf("------");

printf("\n\n");

printf("Please Enter a String:\n");

printf("*********************");

scanf("%s",a);

for(i=0;a[i]!='\0';i++)

{

c=c+1;

}

printf("\n\n");

printf("Length Of The Given String is=%d\n",c);

printf("*****************************");

getch();

}

Download All C Programming & Study Materials PDF