If f : R → R is a function defined by f[x]cos((2x - 1)/2)π
where [x] denotes the greatest integer function, then f is
(A) Continuous for every real x
(B) Discontinuous only at x = 0
(C) Discontinuous only at non-zero integral values of x
(D) Continuous only at x = 0