I am trying to create a char array in C, to fill it with the digits of an int, but the int can be of any number of digits.
I\'m using a created function called
below may help
char* buffer; buffer = (char*)malloc(number * sizeof(char));