Get Remainder of a Number in C Programming