Notice that set U is formed by all integers between 0 and 10.
Set S is formed by all odd integers between 0 and 10.
Remember that the complement of a set is all elements inside the universe but out of that set. So, in this case, we have to find all elements that do not belong to S but to the universal set U which would be all the even numbers between 0 and 10.
Therefore, the complement of S is
Notice that we can't include 10 because the set is not defined for that number since is an open interval.
The right answer is D.