Advertisement



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







Note


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




Please Subscribe

Please subscribe to our social media channels for daily updates.


Decodejava Facebook Page  DecodeJava Twitter Page Decodejava Google+ Page




Advertisement

Notifications



Please check our latest addition

PYTHON


Advertisement