Thursday, December 11, 2014

WAP TO CHANGE A STRING LOWER TO UPER CASE IN C language

//WAP TO CHANGE A  STRING  LOWER TO UPER CASE
#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
 char str[25];
 int len;
 //clrscr();
 printf("Enter the String: ");
 gets(str);
 strupr(str);
 printf("\nYour String in Uppercase %s",str);
}

No comments:

Post a Comment