/* Isupper (whether the test character is an uppercase English letter) function isalpha, islower header file # include <ctype. h> define the int isupper (INT c) function to check whether parameter C is an uppercase English letter. Returns true if parameter C is an uppercase English letter; otherwise, returns NULL (0 ). Additional description: This is a macro definition. The non-real function example * // * identifies characters in the STR string that are uppercase letters */# include <ctype. h> # include <stdio. h> main () {char STR [] = "[email protected] # FDSP [E? "; Int I; for (I = 0; STR [I]! = 0; I ++) if (isupper (STR [I]) printf ("% C is an uppercase character \ n", STR [I]);} /* Run f is an uppercase characterd is an uppercase characterp is an uppercase character */
Isupper (test whether the character is an uppercase English letter)