Activity 27.6.
Next, let’s move the freeing of all allocated space for a number into a function. The function should again work for arbitrarily long numbers, not just for our 3-digit number. Please write a function
freeNumber()
to which you pass a pointer to the first digit of your number and which frees the space allocated for all of the digits of the number. The function does not need to return anything.When you are done, please paste your code into the code submission box below: