What iS meant by the kth value?And Any one could help me about how to solve the question given below?
Write a function int digit (int num, int k) that return kth digit of the positive number num. For example, if num is the integer 12435, then the call digit (num, 0) would returns the digit 5, and the call digit (num, 2) would returns the digit 4. Note that digits are numbered from right to left. (0,1,2,3,4…)?