< Prev
Next >

C++ strupr() function

In C++, the strupr() is string manipulation function defined in the cstring header file, which is used to convert all the characters in a string to upper case letters i.e. a string which is stored in a c-style char array.

Signature of strupr() function

char * strupr(char *str);


The function strupr() when called on any char[] array, containing a string value, returns its contents as an upper case string.

Please subscribe our social media channels for notifications, we post a new article everyday.

Decodejava Google+ Page Decodejava Facebook Page  DecodeJava Twitter Page

Coming Next