
Implement gm_putchar, your own putchar, which writes a single byte to standard output and returns it.
gm_putchar('z')Expected result
zFor your own tracking. Tests grade your code.
gm_putchar('\n')Expected result
Whitespace only: "\n"
Expected files
putchar.cAllowed functions
writeAllowed headers
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_putchar, your own putchar, which writes a single byte to standard output and returns it.
gm_putchar('z')Expected result
zFor your own tracking. Tests grade your code.
gm_putchar('\n')Expected result
Whitespace only: "\n"
Expected files
putchar.cAllowed functions
writeAllowed headers
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.