
Implement gm_isalpha, your own isalpha, which reports whether a character is an ASCII letter, returning non-zero for letters and 0 for everything else.
gm_isalpha('a')Expected result
1For your own tracking. Tests grade your code.
gm_isalpha('@')Expected result
0gm_isalpha('7')Expected result
0Expected files
isalpha.cAllowed functions
None. Write every helper yourself.
Standard C library
Implements the contract of a function from the standard C library.

Implement gm_isalpha, your own isalpha, which reports whether a character is an ASCII letter, returning non-zero for letters and 0 for everything else.
gm_isalpha('a')Expected result
1For your own tracking. Tests grade your code.
gm_isalpha('@')Expected result
0gm_isalpha('7')Expected result
0Expected files
isalpha.cAllowed functions
None. Write every helper yourself.
Standard C library
Implements the contract of a function from the standard C library.

Run the tests to grade your code
Build your code, then check each test here. Open a result to inspect its output.
v0.40: Create exercises. Challenge the community.
Meet Studio →