int isUpper(char c) {
// check if the argument is the uppercase bound
if (c >= 'A' && c <= 'Z') return 1;
else return 0;
}
char ch = 'Z';
if(isupper(ch))
printf("upper case");
else
printf("lower case");
// Output: upper case
CCopy