
Implement a function that allocates and returns the textual representation of a signed integer written in a chosen numeric base.
int_to_str_base(42, 10)Expected result
42For your own tracking. Tests grade your code.
int_to_str_base(255, 16)Expected result
ffint_to_str_base(-13, 2)Expected result
11111111111111111111111111110011Expected files
int_to_str_base.cAllowed functions
mallocAllowed headers

v0.40: Create exercises. Challenge the community.
Meet Studio →Implement a function that allocates and returns the textual representation of a signed integer written in a chosen numeric base.
int_to_str_base(42, 10)Expected result
42For your own tracking. Tests grade your code.
int_to_str_base(255, 16)Expected result
ffint_to_str_base(-13, 2)Expected result
11111111111111111111111111110011Expected files
int_to_str_base.cAllowed functions
mallocAllowed headers

Run the tests to grade your code
Build your code, then check each test here. Open a result to inspect its output.