I\'m trying to find the nth digit of an integer of an arbitrary length. I was going to convert the integer to a string and use the character at index n...
n
A direct answer is:
char Digit = 48 + ((int)(Number/pow(10,N)) % 10 );
You should include the library