Converting String to upper case

Converting String to upper case in C

#include
#include
int main()
{
char str[30]=”string to upper”;
clrscr();
printf(“\n\nstr : %s\n\n”,str);
printf(“strupr(str) : %s\n”,strupr(str));
getch();
return 0;
}

Leave a Reply

Your email address will not be published. Required fields are marked *