Which number is different from the others?

Answer: C. 18
18 is an even number, while 5, 11, and 23 are odd numbers.