Question: what is the difference between c major and d major?
Answer: Structure of C Major is (1,1,1/2,1,1,1,1/2), where 1 is tone and 1/2 is semitone. And structure of D Major is (1,1,1/2,1,1,1/2,1/2) with two semitones in a row at the end.