isupper if space c++ code example Example: check if character in string is uppercase c++ Click to copyif (isupper(str[i])) { // str[i] is uppercase }