Because your definition of x (int x = 023) is an octal number, the hexadecimal number corresponding to 10 is: 19.
Output in (%d) 10. X++ means taking the value of X (that is, the value of the expression x++) as 19, and then adding X to 1 becomes 20, so the final result is 19.
If you have any questions, please ask.