
Implement gm_isprint, your own isprint, which reports whether a character is printable, meaning it would show up as visible ink or a blank space on screen.
gm_isprint(' ')Expected result
1For your own tracking. Tests grade your code.
gm_isprint('A')Expected result
1gm_isprint('\t')Expected result
0Expected files
isprint.cAllowed functions
None. Write every helper yourself.
Standard C library
Implements the contract of a function from the standard C library.

v0.40: Create exercises. Challenge the community.
Meet Studio →Implement gm_isprint, your own isprint, which reports whether a character is printable, meaning it would show up as visible ink or a blank space on screen.
gm_isprint(' ')Expected result
1For your own tracking. Tests grade your code.
gm_isprint('A')Expected result
1gm_isprint('\t')Expected result
0Expected files
isprint.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.