Check out example codes for "toupper c++". It will help you in understanding the concepts better.

Code Example 1

int result = toupper(charecterVariable);// return the int that corresponding upper case char
//if there is none then it will return the int for the original input.
//can convert int to char after
char result2 = (char)toupper(variableChar);

Learn ReactJs, React Native from akashmittal.com