
Implement a function that writes a memory region as a classic hexdump-style listing of 16 bytes per row, followed by an ASCII gutter.
hex_dump("merge later test", 16)Expected result
6d 65 72 67 65 20 6c 61 74 65 72 20 74 65 73 74 merge later testFor your own tracking. Tests grade your code.
hex_dump("ABCDEFGH", 8)Expected result
41 42 43 44 45 46 47 48 ABCDEFGHExpected files
hex_dump.cAllowed functions
write
v0.40: Create exercises. Challenge the community.
Meet Studio →Implement a function that writes a memory region as a classic hexdump-style listing of 16 bytes per row, followed by an ASCII gutter.
hex_dump("merge later test", 16)Expected result
6d 65 72 67 65 20 6c 61 74 65 72 20 74 65 73 74 merge later testFor your own tracking. Tests grade your code.
hex_dump("ABCDEFGH", 8)Expected result
41 42 43 44 45 46 47 48 ABCDEFGHExpected files
hex_dump.cAllowed functions
write
Run the tests to grade your code
Build your code, then check each test here. Open a result to inspect its output.