i want to write a function as following:
write and test a single function which sets a small array with 2 characters to the ordinal suffix of numbers 1st, 2nd, 3rd, 4th and suffix refers to the letters.
void suffix(int n, char suff);
assumming the following declarations: char s;
and the result of call suffix(x,s);
and some sample of the values for x and exped value of s are:
1 2 3 4 100 101 102
st nd rd th th st nd