Converting String to Uppercase

The xstrupr( ) function

xstrupr( ) converts a given string into its uppercase equivalent. The basic syntax of the xstrupr( ) function is given below:

char* strcpy(const char *str1);

Here, str1 points to the target string.

Get hands-on with 1400+ tech skills courses.