check for capital letter in string c code example
Example: check if character is uppercase c
int isUpper(char c) {
// check if the argument is the uppercase bound
if (c >= 'A' && c <= 'Z') return 1;
else return 0;
}
int isUpper(char c) {
// check if the argument is the uppercase bound
if (c >= 'A' && c <= 'Z') return 1;
else return 0;
}