for any string in the language represented by option C
we can have a $X$ such that first and last symbol of the string are same.
so, due to the presence of that $X$ language is reduced to the language definition where the first and the last symbol are same
Hence, that can be accepted by a DFA. Therefore, the option C is Regular