Looking at the Venn diagram, we have a total of 4 digits (4, 6, 8 and 10) that are neither odd nor prime.
Since the total amount of numbers is 10, the probability of a digit being neither odd nor prime is the amount of these numbers over the total amount of numbers:
So the correct option is D.