
Implement int_to_str_base, which returns a newly allocated string holding value written in base.
int_to_str_base(42, 10)42int_to_str_base(255, 16)ffint_to_str_base(-13, 16)fffffff3int_to_str_base(7, 1)NULLint_to_str_base.cmalloc<stdlib.h>declares malloc<stddef.h>defines NULL
Run the tests to grade your code
Implement int_to_str_base, which returns a newly allocated string holding value written in base.
int_to_str_base(42, 10)42int_to_str_base(255, 16)ffint_to_str_base(-13, 16)fffffff3int_to_str_base(7, 1)NULLint_to_str_base.cmalloc<stdlib.h>declares malloc<stddef.h>defines NULL
Run the tests to grade your code
Memory will appear here