Find all solutions in the interval [0, 2π).

cos x = sin x

A. x = three pi divided by four., five pi divided by four.
B. x = pi divided by four., seven pi divided by four.
C. x = three pi divided by four, seven pi divided by two
D. x = pi divided by four, five pi divided by four.