Objective
Implement a function that allocates and returns the textual representation of a signed integer written in a chosen numeric base.
Steps
$ int_to_str_base(42, 10)
42
$ int_to_str_base(255, 16)
ff
$ int_to_str_base(-13, 2)
11111111111111111111111111110011
Expected files
Allowed functions
Allowed headers

Objective
Implement a function that allocates and returns the textual representation of a signed integer written in a chosen numeric base.
Steps
$ int_to_str_base(42, 10)
42
$ int_to_str_base(255, 16)
ff
$ int_to_str_base(-13, 2)
11111111111111111111111111110011
Expected files
Allowed functions
Allowed headers

Tests
Run the tests to grade your code