Unsigned integer written in base B(2<=B<=256) can be presented as follows:

Where B is base in which the number is written, n is the number of digits, and digits is pointer to the byte sequence in which the digits are stored(each byte contains one digit).least significant digit is located in the lowest byte.Code:typedef struct { unsigned B; unsigned n; void * digits; } Number;

Write a function for substraction of two unsigned numbers in arbitrary base B.

Send your opinions, ideas and if you want even the code itself. Thanks.