#include<stdio.h>
#include<conio.h>
void main()
{
char name[50];
int a,i;
clrscr();
printf("Enter String : ");
gets(name);
for(i=0;name[i] != '/0';i++)

{
a = name[i];
a = a-32;

printf("Upper case : %c",name[i]);
}
getch();
}
INPUT
Enter String : hello world
OUPUT
String change of Upper case  : HELLO WORLD

Leave a Reply

Subscribe to Posts | Subscribe to Comments

All Notes on BCA

All Notes  on BCA
BCA all subjects notes

Total Pageviews

Translate

Powered by Blogger.

Copyright © All Notes on BCA