C Program to convert lower case string to upper case


This content was proof-read by Grammarly. You can Try Grammary for FREE

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;
}
%d bloggers like this: