void main ()
{
char str [20];
clrscr ();
printf ("Enter your name: ");
gets (str);
printf("\nLength is : %d",strlen(str));
printf("\nUpper is : %s",strupr(str));
printf("\nLower is : %s",strlwr(str));
printf("\nReverese is : %s",strrev(str));
getch ();
}
No comments:
Post a Comment