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;
}

Leave a Reply

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

Liked this content?. Please spread the word :)

  • RSS
  • Twitter
    Visit Us
    Follow Me