Which statement best compares an asteroid with Earth?

A) They have the same shape
B) Both have the same diameter
C) Both have rocky composition
D) They are a part of inner planets