Objective
Implement a function that converts an integer to its decimal string representation, allocating the result on the heap.
Steps
$ int_to_str(0)
"0"
$ int_to_str(404)
"404"
$ int_to_str(-2048)
"-2048"
Expected files
Allowed functions
Allowed headers

Objective
Implement a function that converts an integer to its decimal string representation, allocating the result on the heap.
Steps
$ int_to_str(0)
"0"
$ int_to_str(404)
"404"
$ int_to_str(-2048)
"-2048"
Expected files
Allowed functions
Allowed headers

Tests
Run the tests to grade your code