[Solved] Why does C code return numbers greater than 10 as letters?


You are asking printf() to represent the numbers as hexadecimal.

Try using %d or %i instead of %x. This will show them as decimal numbers.

solved Why does C code return numbers greater than 10 as letters?