strupr() function in C
In string strupr() function is used to converts lower case string into upper case.
syntax:-
char*strupr(char*str).
Example: - example of this function is given below
Program code
#include<stdio.h>
#include<string.h>int main()
{
char str[ ] = "computer";
printf("%s\n",strupr(str));
return 0;
}
Comments
Post a Comment
please subscribe my blog and let me suggest how I improve this site