Home >>C String functions >C strupr () function
C strupr() function converts the given string into uppercase.
Syntax:Strupr(str)
Note:- Here str is given string.
It takes string as parameter.
It returns modified string.
Example-1
#include <stdio.h>
#include <string.h>
int main()
{
char str[ ] = "phptpoint";
printf("%s\n",strupr (str));
return 0;
}