C Program to convert lower case string to upper case

Problem Statement

Write a program in C to convert the given string from lower case to upper case.

How to convert a lower case string to upper case string in C ?

#include<stdio.h>
#include<string.h>
int main()
{     char str[ ] = "This is Abundantcode.com";     printf("%s\n",strupr(str));     return  0;
}
Tags :

Leave Your Comment

Liked this content?. Please spread the word :)